ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rtio.h
(Generate patch)

Comparing ray/src/common/rtio.h (file contents):
Revision 3.11 by greg, Thu Mar 3 22:09:59 2016 UTC vs.
Revision 3.15 by greg, Tue Mar 20 18:45:04 2018 UTC

# Line 13 | Line 13
13  
14   #ifdef getc_unlocked            /* avoid horrendous overhead of flockfile */
15   #undef getc
16 + #undef getchar
17   #undef putc
18 + #undef putchar
19   #define getc    getc_unlocked
20 + #define getchar getchar_unlocked
21   #define putc    putc_unlocked
22 + #define putchar putchar_unlocked
23   #endif
24  
25   #ifdef __cplusplus
# Line 24 | Line 28 | extern "C" {
28                                          /* defined in badarg.c */
29   extern int      badarg(int ac, char **av, char *fl);
30                                          /* defined in expandarg.c */
31 + extern int      envexpchr, filexpchr;
32   extern int      expandarg(int *acp, char ***avp, int n);
33                                          /* defined in fdate.c */
34   extern time_t   fdate(char *fname);
# Line 52 | Line 57 | extern void    swap64(char *wp, int n);
57   extern void     putstr(char *s, FILE *fp);
58   extern void     putint(long i, int siz, FILE *fp);
59   extern void     putflt(double f, FILE *fp);
60 < extern int      putbinary(char *s, int elsiz, int nel, FILE *fp);
60 > extern int      putbinary(const void *s, int elsiz, int nel, FILE *fp);
61   extern char     *getstr(char *s, FILE *fp);
62   extern long     getint(int siz, FILE *fp);
63   extern double   getflt(FILE *fp);
64 < extern int      getbinary(char *s, int elsiz, int nel, FILE *fp);
64 > extern int      getbinary(void *s, int elsiz, int nel, FILE *fp);
65                                          /* defined in rexpr.c */
66   extern int      ecompile(char *sp, int iflg, int wflag);
67   extern char     *expsave(void);
# Line 70 | Line 75 | extern int     shash(char *s);
75   extern char     *savqstr(char *s);
76   extern void     freeqstr(char *s);
77                                          /* defined in wordfile.c */
78 < extern int      wordfile(char **words, char *fname);
79 < extern int      wordstring(char **avl, char *str);
78 > extern int      wordfile(char **words, int nargs, char *fname);
79 > extern int      wordstring(char **avl, int nargs, char *str);
80                                          /* defined in words.c */
81   extern char     *atos(char *rs, int nb, char *s);
82   extern char     *nextword(char *cp, int nb, char *s);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines