Windows global stuff:
[krb5.git] / src / include / fake-stdlib.h
1 #if defined(__STDC__) || defined(_WINDOWS)
2 #else
3 # define P(s) ()
4 #endif
5
6 #ifndef FD_SETSIZE
7 #include <sys/types.h>
8 #endif
9
10 #if defined(vax) || defined(__vax__)
11
12 /* following functions removed:
13    stdio
14    directory reading
15    DBM
16    signal(3)
17    alphasort(3), scandir(3)
18    accept(2)
19    bind(2)
20    connect(2)
21    getpeername(2)
22    getpriority(2)
23    getrlimit(2)
24    getrusage(2)
25    readv(2)
26    recvfrom(2)
27    recvmsg(2)
28    sendto(2)
29    sendmsg(2)
30    setrlimit(2)
31    sigvec(2)
32    sigreturn(2)
33    sigstack(2)
34    wait(2)
35    wait3(2)
36    writev(2)
37    ftime(2)
38    gtty(3)
39    inet_lnaof(3)
40    inet_netof(3)
41    in_addr(3)
42    inet_ntoa(3)
43    insque(3)
44    longjmp(3)
45    nlist(3)
46    ns_ntoa(3)
47    remque(3)
48    setjmp(3)
49    stty(3)
50    times(3)
51    vtimes(3)
52    adjtime(2)
53    fstat(2)
54    getitimer(2)
55    gettimeofday(2)
56    lstat(2)
57    select(2)
58    setitimer(2)
59    settimeofday(2)
60    stat(2)
61    utimes(2)
62    asctime(2)
63    monitor(3)
64    monstartup(3)
65    ctime(3)
66    gmtime(3)
67    localtime(3)
68  */
69
70 /* /usr/lib/lint/llib-lc */
71 /* /usr/lib/lint/llib-lc */
72 int access P((char *, int ));
73 int acct P((char *));
74 char *brk P((char *));
75 int chdir P((char *));
76 int chmod P((char *, int ));
77 int chown P((char *, int , int ));
78 int chroot P((char *));
79 int close P((int ));
80 int dup P((int ));
81 int dup2 P((int , int ));
82 int execve P((char *, char * [], char * []));
83 #ifndef __GNUC__
84 int _exit P((int ));
85 #endif
86 int fchmod P((int , int ));
87 int fchown P((int , int , int ));
88 int fcntl P((int , int , int ));
89 int flock P((int , int ));
90 int fork P((void ));
91 int fsync P((int ));
92 int ftruncate P((int , off_t ));
93 int getdtablesize P((void ));
94 gid_t getegid P((void ));
95 uid_t geteuid P((void ));
96 gid_t getgid P((void ));
97 int getgroups P((int , int *));
98 long gethostid P((void ));
99 int gethostname P((char *, int ));
100 int getpagesize P((void ));
101 int getpgrp P((int ));
102 int getpid P((void ));
103 int getppid P((void ));
104 uid_t getuid P((void ));
105 int ioctl P((int , u_long , char *));
106 int kill P((int , int ));
107 int killpg P((int , int ));
108 int listen P((int , int ));
109 int mount P((int , char *, int , caddr_t *));
110 int pipe P((int  [2 ]));
111 int profil P((char *, int , int , int ));
112 int ptrace P((int , int , int *, int ));
113 int quota P((int , int , int , char *));
114 int read P((int , char *, int ));
115 int reboot P((int ));
116 int recv P((int , char *, int , int ));
117 char *sbrk P((int ));
118 int setgroups P((int , int *));
119 int sethostid P((long ));
120 int sethostname P((char *, int ));
121 int setpgrp P((int , int ));
122 int setquota P((const char *, const char *));
123 int setregid P((int , int ));
124 int setreuid P((int , int ));
125 int shutdown P((int , int ));
126 void srandom P((int  ));
127 int swapon P((char *));
128 int sync P((void ));
129 int umask P((int ));
130 int umount P((char *));
131 int vfork P((void ));
132 int vhangup P((void ));
133 int write P((int , const char *, int ));
134 int abs P((int ));
135 int alarm P((unsigned ));
136 double atof P((const char *));
137 int atoi P((char *));
138 long atol P((char *));
139 int bcmp P((char *, char *, int ));
140 int bcopy P((const char *, char *, int ));
141 int bzero P((char *, int ));
142 void *calloc P((unsigned long, unsigned long));
143 void closelog P((void ));
144 int creat P((char *, int ));
145 char *crypt P((char *, char *));
146 char *ecvt P((double , int , int *, int *));
147 int encrypt P((char *, int ));
148 int endfsent P((void ));
149 int endgrent P((void ));
150 int endhostent P((void ));
151 int endnetent P((void ));
152 int endprotoent P((void ));
153 int endpwent P((void ));
154 int endservent P((void ));
155 int endttyent P((void ));
156 int endusershell P((void ));
157 int execl P((char *, char *, ...));
158 int execle P((char *, char *));
159 int execlp P((char *, char *, ...));
160 int execv P((char *, char * []));
161 int execvp P((char *, char * []));
162 int exect P((char *, char * [], char * []));
163 #ifndef __GNUC__
164 int exit P((int ));
165 #endif
166 char *fcvt P((double , int , int *, int *));
167 int ffs P((int ));
168 #ifdef __GNUC__
169 void free P((void *));
170 #else
171 int free P((char *));
172 #endif
173 double frexp P((double , int *));
174 char *gcvt P((double , int , char *));
175 struct disktab *getdiskbyname P((char *));
176 char *getenv P((char *));
177 struct fstab *getfsent P((void ));
178 struct fstab *getfsspec P((char *));
179 struct fstab *getfsfile P((char *));
180 struct fstab *getfstype P((char *));
181 struct group *getgrent P((void ));
182 struct group *getgrgid P((int ));
183 struct group *getgrnam P((const char *));
184 char *getlogin P((void ));
185 int getopt P((int , char **, char *));
186 char *getpass P((char *));
187 int getpw P((int , char *));
188 struct passwd *getpwent P((void ));
189 struct passwd *getpwuid P((int ));
190 struct passwd *getpwnam P((const char *));
191 struct ttyent *getttynam P((const char *));
192 char *getusershell P((void ));
193 char *getwd P((char *));
194 u_long htonl P((u_long ));
195 u_short htons P((unsigned int ));
196 u_long inet_addr P((const char *));
197 u_long inet_network P((const char *));
198 int initgroups P((char *, int ));
199 char *initstate P((unsigned , char *, int ));
200 int isatty P((int ));
201 double ldexp P((double , int ));
202 int longjmperror P((void ));
203 #if defined(__STDC__) || defined(_WINDOWS)
204 void *malloc P((size_t ));
205 #else
206 char *malloc P((unsigned ));
207 #endif
208 char *memccpy P((char *, char *, int , int ));
209 char *memchr P((char *, int , int ));
210 #ifndef __GNUC__
211 int memcmp P((char *, char *, int ));
212 char *memcpy P((char *, const char *, int ));
213 char *memset P((char *, int , int ));
214 #endif
215 char *mktemp P((char *));
216 int mkstemp P((char *));
217 double modf P((double , double *));
218 int moncontrol P((int ));
219 int nice P((int ));
220 struct ns_addr ns_addr P((char *));
221 u_long ntohl P((u_long ));
222 u_short ntohs P((unsigned int ));
223 void openlog P((const char *, int , int ));
224 int pause P((void ));
225 int perror P((const char * ));
226 int psignal P((unsigned , const char *));
227 int qsort P((char *, int , int , int (* )()));
228 int rand P((void ));
229 long random P((void ));
230 int rcmd P((char **, u_short , char *, char *, char *, int *));
231 char *re_comp P((char *));
232 int re_exec P((char *));
233 #ifdef __GNUC__
234 void *realloc P((void *, size_t ));
235 #else
236 char *realloc P((char *, unsigned ));
237 #endif
238 int rexec P((char **, u_short , char *, char *, char *, int *));
239 int rresvport P((int *));
240 int ruserok P((char *, int , char *, char *));
241 int setegid P((gid_t ));
242 int seteuid P((uid_t ));
243 int setfsent P((void ));
244 int setgrent P((void ));
245 int setgid P((gid_t ));
246 int sethostent P((int ));
247 int setkey P((char *));
248 int setlogmask P((int ));
249 int setnetent P((int ));
250 int setprotoent P((int ));
251 int setpwent P((void ));
252 int setpwfile P((const char *));
253 int setrgid P((gid_t ));
254 int setruid P((uid_t ));
255 int setservent P((int ));
256 char *setstate P((char *));
257 int setttyent P((void ));
258 int setuid P((uid_t ));
259 int setusershell P((void ));
260 int siginterrupt P((int , int ));
261 int sleep P((unsigned ));
262 int srand P((int ));
263 int swab P((char *, char *, int ));
264 void syslog P((int , const char *, ...));
265 int system P((char *));
266 long tell P((int ));
267 long time P((long *));
268 char *timezone P((int , int ));
269 char *tmpnam P((char *));
270 char *ttyname P((int ));
271 int ttyslot P((void ));
272 unsigned ualarm P((unsigned , unsigned ));
273 int usleep P((unsigned ));
274 int utime P((char *, time_t *));
275 char *valloc P((unsigned ));
276 int vlimit P((int , int ));
277 #ifndef __GNUC__
278 void abort P((void));
279 #endif
280
281 #endif /* VAX */
282
283 #if (defined(mips) && defined(ultrix)) || (defined(__mips__) && defined(__ultrix__)) || defined(__mips__) || defined(mips)
284
285 /* massaged from /usr/lib/lint/llib-lc, via watchbin/mkproto */
286 /* above functions removed, plus:
287    old DBM
288    sigset stuff
289    semctl
290    semget
291    semop
292    shmctl
293    shmget
294    uname
295    ustat
296    msg*
297    to*
298    is*
299    hsearch
300    ftok
301    getmnt
302    sprintf
303  */
304
305 /* /usr/lib/lint/llib-lc */
306 int access P((char * , int ));
307 int acct P((char * ));
308 #ifndef SYSTEM_FIVE
309 caddr_t brk P((caddr_t ));
310 #endif
311 caddr_t sbrk P((int  ));
312 #ifdef mips
313 int cachectl P((char * , int , int ));
314 int cacheflush P((char *, int , int ));
315 #endif
316 int chdir P((char * ));
317 int chmod P((char * , int  ));
318 int fchmod P((int  , int  ));
319 int chown P((char * , int  , int  ));
320 int fchown P((int  , int  , int ));
321 int chroot P((char * ));
322 int close P((int  ));
323 int creat P((char * , int  ));
324 int dup P((int  ));
325 int dup2 P((int , int  ));
326 int execve P((char * , char * [], char * []));
327 #ifndef SYSTEM_FIVE
328 int _exit P((int  ));
329 #endif
330 int exportfs P((char * , int  , int  ));
331 int fcntl P((int  , int  , int ));
332 int fork P((void ));
333 int getdirentries P((int  , char * , int  , long * ));
334 int getdomainname P((char * , int  ));
335 int setdomainname P((char * , int ));
336 #ifndef SYSTEM_FIVE
337 int getgid P((void ));
338 int getegid P((void ));
339 #endif
340 #ifndef SYSTEM_FIVE
341 int getpgrp P((int ));
342 #endif
343 int getpid P((void ));
344 int getppid P((void ));
345 #ifndef SYSTEM_FIVE
346 int getuid P((void ));
347 int geteuid P((void ));
348 #endif
349 #ifndef SYSTEM_FIVE
350 int ioctl P((int  , int  , char * ));
351 #endif
352 int kill P((int  , int  ));
353 int link P((char * , char * ));
354 off_t lseek P((int  , long  , int ));
355 #ifdef SYSTEM_FIVE
356 int madvise P((char * , int , int ));
357 int mmap P((char * , int  , int , int , int , off_t ));
358 int mincore P((char * , int  , char * ));
359 #endif
360 int mkdir P((char *, int  ));
361 int mknod P((char * , int , int ));
362 int mount P((char * , char * , int ));
363 int umount P((char * ));
364 #ifdef SYSTEM_FIVE
365 int mprotect P((char * , int , int ));
366 int mremap P((char * , int , int , int , int ));
367 int munmap P((char * , int ));
368 #endif
369 int nfs_svc P((int ));
370 void nfs_biod P((void ));
371 int open P((char * , int  , int  ));
372 int pipe P((int [2]));
373 #ifndef SYSTEM_FIVE
374 int profil P((char * , int , int , int ));
375 #endif
376 int ptrace P((int , int , int * , int  ));
377 #ifndef SYSTEM_FIVE
378 int read P((int , char * , int  ));
379 #endif
380 #ifndef SYSTEM_FIVE
381 int setpgrp P((int , int ));
382 #endif
383 #ifdef SYSTEM_FIVE
384 char *stk P((char * ));
385 char *sstk P((int  ));
386 #endif
387 void sync P((void ));
388 int umask P((int ));
389 int unlink P((char * ));
390 pid_t waitpid P((pid_t , int * , int ));
391 #ifndef SYSTEM_FIVE
392 int write P((int , char * , int  ));
393 #endif
394
395 void abort P((void ));
396 int abs P((int ));
397 #ifndef SYSTEM_FIVE
398 int alarm P((unsigned ));
399 #endif
400 char *crypt P((char * , char * ));
401 #ifndef SYSTEM_FIVE
402 void encrypt P((char * ));
403 #endif
404 #ifndef SYSTEM_FIVE
405 char *timezone P((int  , int  ));
406 #endif
407 char *ecvt P((double , int , int * , int * ));
408 char *fcvt P((double , int  , int * , int * ));
409 char *gcvt P((double , int , char * ));
410 int execl P((char * , char *, ...));
411 int execle P((char * , char * ));
412 int execv P((char * , char **));
413 int exect P((char *, char **, char ** ));
414 /* void exit P((int )); */
415 double frexp P((double , int * ));
416 double ldexp P((double , int  ));
417 double modf P((double , double * ));
418 struct disktab *getdiskbyname P((char * ));
419 char *getenv P((char * ));
420 struct fstab *getfsent P((void ));
421 struct fstab *getfsspec P((char * ));
422 struct fstab *getfsfile P((char * ));
423 struct fstab *getfstype P((char * ));
424 int endfsent P((void ));
425 int setfsent P((void ));
426 #ifndef SYSTEM_FIVE
427 struct group *getgrent P((void ));
428 struct group *getgrgid P((int ));
429 struct group *getgrnam P((const char * ));
430 int endgrent P((void ));
431 int setgrent P((void ));
432 #endif
433 char *getlogin P((void ));
434 struct hostent *gethostent P((void ));
435 struct hostent *gethostbyname P((char * ));
436 struct hostent *gethostbyaddr P((char * , int  , int  ));
437 void sethostent P((int ));
438 void endhostent P((void ));
439 struct netent *getnetent P((void ));
440 struct netent *getnetbyname P((char * ));
441 struct netent *getnetbyaddr P((int  , int ));
442 void setnetent P((int ));
443 void endnetent P((void ));
444 char *getpass P((char * ));
445 struct protoent *getprotoent P((void ));
446 struct protoent *getprotobyname P((char * ));
447 struct protoent *getprotobynumber P((int  ));
448 void setprotoent P((int ));
449 void endprotoent P((void ));
450 int getpw P((int , char * ));
451 #ifndef SYSTEM_FIVE
452 struct passwd *getpwent P((void ));
453 struct passwd *getpwuid P((int ));
454 struct passwd *getpwnam P((const char * ));
455 int endpwent P((void ));
456 int setpwent P((void ));
457 #endif
458 char *gets P((char * ));
459 struct servent *getservent P((void ));
460 struct servent *getservbyname P((char * , char * ));
461 struct servent *getservbyport P((int , char * ));
462 void setservent P((int ));
463 void endservent P((void ));
464 struct ttyent *getttyent P((void ));
465 struct ttyent *getttynam P((const char * ));
466 unsigned long inet_network P((const char * ));
467 int initgroups P((char * , int  ));
468 #if defined(__STDC__) || defined(_WINDOWS)
469 void *malloc P((unsigned ));
470 #else
471 char *malloc P((unsigned ));
472 #endif
473 char *calloc P((unsigned , unsigned  ));
474 char *realloc P((char * , unsigned  ));
475 void free P((char * ));
476 char *alloca P((int  ));
477 int mkfifo P((char * , mode_t  ));
478 char *mktemp P((char * ));
479 #ifndef SYSTEM_FIVE
480 void monitor P((int (* )(), int (* )(), short * , int , int  ));
481 #endif
482 void monstartup P((int (* )(), int (* )()));
483 void moncontrol P((int ));
484 #ifndef SYSTEM_FIVE
485 void nice P((int ));
486 #endif
487 long pathconf P((char * , int  ));
488 long fpathconf P((int , int ));
489 int pause P((void ));
490 void perror P((char * ));
491 int printf P((const char *, ...));
492 int puts P((const char * ));
493 #ifndef SYSTEM_FIVE
494 int qsort P((char * , int  , int , int (* )()));
495 #endif
496 int rand P((void ));
497 void srand P((int ));
498 int rcmd P((char ** , u_short , char * , char * , char * , int * ));
499 int rresvport P((int * ));
500 int ruserok P((char * , int  , char * , char * ));
501 int rexec P((char ** , u_short  , char * , char * , char * , int * ));
502 int scanf P((const char *, ... ));
503 int sscanf P((const char * , const char *, ... ));
504 int setpgid P((pid_t  , pid_t  ));
505 int setuid P((int  ));
506 int seteuid P((int  ));
507 int setruid P((int  ));
508 int setgid P((int  ));
509 int setegid P((int  ));
510 int setrgid P((int  ));
511
512 int siginterrupt P((int  , int  ));
513 unsigned sleep P((unsigned  ));
514 int strcmp P((const char * , const char * ));
515 char *strcpy P((char * , const char * ));
516 #ifndef hpux
517 int strlen P((const char * ));
518 #endif
519 char *strncat P((char * , const char * , int  ));
520 int strncmp P((const char * , const char * , int  ));
521 char *strncpy P((char * , const char * , int  ));
522 void swab P((char * , char * , int  ));
523 long sysconf P((int  ));
524 int system P((char * ));
525 char *ttyname P((int  ));
526 int isatty P((int  ));
527 int ttyslot P((void ));
528 int utime P((char * , time_t  []));
529
530 #ifndef SYSTEM_FIVE
531 int flock P((int  , int  ));
532 int fsync P((int  ));
533 int getdtablesize P((void ));
534 int getgroups P((int  , int * ));
535 int gethostid P((void ));
536 int sethostid P((int  ));
537 int gethostname P((char * , int  ));
538 int sethostname P((char * , int  ));
539 int getpagesize P((void ));
540 int getpriority P((int  , int  ));
541 int setpriority P((int  , int  , int  ));
542 int getsockname P((int  , char * , int * ));
543 int getsockopt P((int  , int  , int  , char * , int * ));
544 int setsockopt P((int  , int  , int  , const char * , int  ));
545 int killpg P((int  , int  ));
546 int listen P((int  , int  ));
547 int quota P((int  , int  , int  , caddr_t ));
548 int readlink P((char * , char * , int  ));
549 int reboot P((int  ));
550 int rename P((char * , char * ));
551 int rmdir P((char * ));
552 int send P((int  , char * , int , int  ));
553 int setgroups P((int  , int * ));
554 int setregid P((int  , int  ));
555 int setquota P((char * , char * ));
556 int setreuid P((int  , int  ));
557 pid_t setsid P((void ));
558 int shutdown P((int  , int  ));
559 int sigblock P((int  ));
560 int sigpause P((int  ));
561 int sigsetmask P((int  ));
562 int socket P((int , int  , int  ));
563 int socketpair P((int , int  , int  , int  [2 ]));
564 int swapon P((char * ));
565 int symlink P((char * , char * ));
566 int truncate P((char * , int  ));
567 int ftruncate P((int  , int  ));
568 int vfork P((void ));
569 void vhangup P((void ));
570 double atof P((char * ));
571 int atoi P((char * ));
572 long atol P((char * ));
573 void bcopy P((const char * , char * , int  ));
574 int bcmp P((char * , char * , int  ));
575 void bzero P((char * , int  ));
576 int ffs P((int  ));
577 char *getwd P((char * ));
578 void psignal P((unsigned  , char * ));
579 void srandom P((int  ));
580 long random P((void ));
581 char *initstate P((unsigned  , char * , int  ));
582 char *setstate P((char * ));
583 char *re_comp P((char * ));
584 int re_exec P((char * ));
585 void openlog P((const char * , int, int  )); /* our local version... */
586 void syslog P((int  , const char *, ... ));
587 void closelog P((void ));
588 char *valloc P((unsigned  ));
589 int vlimit P((int  , int  ));
590 #endif
591 int execlp P((char * , char *, ... ));
592 int execvp P((char * , char * []));
593 int plock P((int ));
594 char *shmat P((int  , char * , int  ));
595 int shmdt P((char * ));
596 void sys3b P((int  , int  , int  ));
597 long ulimit P((int  , long  ));
598 long a64l P((char * ));
599 char *l64a P((long  ));
600 void _assert P((char * , char * , int  ));
601 char *bsearch P((char * , char * , unsigned  , unsigned  , int (* )(char *, char *)));
602 long clock P((void ));
603 char *ctermid P((char * ));
604 char *cuserid P((char * ));
605 double drand48 P((void ));
606 double erand48 P((unsigned short  [3 ]));
607 long lrand48 P((void ));
608 long nrand48 P((unsigned short  [3 ]));
609 long mrand48 P((void ));
610 long jrand48 P((unsigned short  [3 ]));
611 void srand48 P((long s ));
612 unsigned short *seed48 P((unsigned short  [3 ]));
613 void lcong48 P((unsigned short  [7 ]));
614 char *getcwd P((char * , int  ));
615 int getopt P((int  , char ** , char * ));
616 int hcreate P((unsigned  ));
617 void hdestroy P((void ));
618 void l3tol P((long * , char * , int  ));
619 void ltol3 P((char * , long * , int  ));
620 char *lsearch P((char * , char * , unsigned * , unsigned  , int (* )(char *, char *)));
621 char *lfind P((char * , char * , unsigned * , unsigned  , int (* )(char *, char *)));
622 char *memccpy P((char * , char * , int  , int  ));
623 char *memchr P((char * , int  , int  ));
624 int memcmp P((char * , char * , int  ));
625 char *memcpy P((char * , const char * , int  ));
626 char *memset P((char * , int  , int  ));
627 int gsignal P((int  ));
628 double strtod P((char * , char ** ));
629 long strtol P((char * , char ** , int  ));
630 char *tmpnam P((char * ));
631 char *tempnam P((char * , char * ));
632 char *tsearch P((char * , char ** , int (* )(char *, char *)));
633 char *tfind P((char * , char ** , int (* )(char *, char *)));
634 char *tdelete P((char * , char ** , int (* )(char *, char *)));
635 void twalk P((char * , void (* )(char *, int, int)));
636 int syscall P((int  , int  , int  , int  ));
637 long tell P((int  ));
638
639 #ifdef SYSTEM_FIVE
640
641 unsigned alarm P((unsigned ));
642 int brk P((char * ));
643 void _exit P((int  ));
644 int getpgrp P((void ));
645 unsigned short getuid P((void ));
646 unsigned short geteuid P((void ));
647 unsigned short getgid P((void ));
648 unsigned short getegid P((void ));
649 int ioctl P((int  , int  , int  ));
650 int nice P((int  ));
651 void profil P((char * , int  , int  , int  ));
652 int read P((int  , char * , unsigned  ));
653 int setpgrp P((void ));
654 int write P((int  , char * , unsigned  ));
655 void setkey P((char * ));
656 void encrypt P((char * , int  ));
657 void tzset P((void ));
658 struct group *getgrent P((void ));
659 struct group *getgrgid P((int  ));
660 struct group *getgrnam P((char * ));
661 void setgrent P((void ));
662 void endgrent P((void ));
663 struct passwd *getpwent P((void ));
664 struct passwd *getpwuid P((int  ));
665 struct passwd *getpwnam P((const char * ));
666 void setpwent P((void ));
667 void endpwent P((void ));
668 void qsort P((char * , unsigned  , unsigned  , int (* )()));
669 #endif
670
671 #endif /* MIPS/Ultrix */
672
673 #ifdef ibm032
674 #ifndef memcpy
675 extern void *memcpy P((void *, const void *, unsigned int));
676 #endif
677 #ifndef memset
678 extern void *memset P((void *, int, unsigned int));
679 #endif
680 extern int bcmp P((void *, void *, unsigned int));
681 extern void *calloc P((unsigned int, unsigned int));
682 extern void *malloc P((unsigned int));
683 extern void *realloc P((void *, unsigned int));
684 extern void free P((void *));
685 #ifndef abort
686 extern void abort P((void));
687 #endif
688 extern char *getenv P((const char *));
689
690 extern double atof P((const char *));
691 extern int    atoi P((const char *));
692
693 #ifndef abs
694 extern int abs(int);
695 #if 0 /* used to be __HIGHC__; that interferes with jfc's c89 stdlib.h */
696 #define abs(x)  _abs(x)
697 #endif
698 #endif
699
700 #endif /* ibm032 */
701
702 /* Declarations valid for all machines. */
703 #if !defined(abs) && defined(__GNUC__)
704 #define abs(x)  __builtin_abs(x)
705 #endif
706
707 #undef P