comparison lib-src/gnuserv.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 929b76928fce
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
184 #undef FALSE 184 #undef FALSE
185 #define FALSE 0 185 #define FALSE 0
186 #undef TRUE 186 #undef TRUE
187 #define TRUE 1 187 #define TRUE 1
188 188
189 extern char *getenv();
190 extern char *optarg; 189 extern char *optarg;
191 extern int optind; 190 extern int optind;
192 extern char *progname; 191 extern char *progname;
193
194 #ifndef BSD
195 extern char *getcwd();
196 #endif
197 192
198 /* The casts shut Sun's compiler up and are safe in the context these 193 /* The casts shut Sun's compiler up and are safe in the context these
199 are actually used. */ 194 are actually used. */
200 #define max2(x,y) (((int) (x) > (int) (y)) ? (x) : (y)) 195 #define max2(x,y) (((int) (x) > (int) (y)) ? (x) : (y))
201 #define min2(x,y) (((int) (x) < (int) (y)) ? (x) : (y)) 196 #define min2(x,y) (((int) (x) < (int) (y)) ? (x) : (y))