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.2 by schorsch, Mon Jun 30 14:59:11 2003 UTC vs.
Revision 3.4 by greg, Mon Oct 20 16:01:55 2003 UTC

# Line 5 | Line 5
5  
6   #ifndef _RAD_RTIO_H_
7   #define _RAD_RTIO_H_
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
8  
9   #include  <stdio.h>
10   #include  <sys/types.h>
11   #include  <fcntl.h>
12   #include  <string.h>
13  
14 + #ifdef __cplusplus
15 + extern "C" {
16 + #endif
17 +
18   /* XXX include paths.h instead */
19   #ifndef  F_OK                   /* mode bits for access(2) call */
20   #define  R_OK           4               /* readable */
# Line 21 | Line 22 | extern "C" {
22   #define  X_OK           1               /* executable */
23   #define  F_OK           0               /* exists */
24   #endif
24
25                        /* <unistd.h> is missing on some systems */
26 extern off_t    lseek(int, off_t, int);
25  
26                                          /* defined in badarg.c */
27   extern int      badarg(int ac, char **av, char *fl);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines