Revision 22404,
409 bytes
checked in by ghudson, 18 years ago
(diff) |
Eliminate declarations of system functions which cause warnings or errors.
Fix some broken ss library calls.
|
Rev | Line | |
---|
[6956] | 1 | /* UNIX Unified Stream Protocol |
---|
| 2 | |
---|
| 3 | Copyright 1986 by the Massachusetts Institute of Technology |
---|
| 4 | See permission and disclaimer notice in file "notice.h" |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | /* Generally Useful Things */ |
---|
| 8 | |
---|
| 9 | typedef unsigned short Boolean; |
---|
| 10 | typedef char Byte; |
---|
| 11 | |
---|
[19062] | 12 | #include <errno.h> |
---|
[22404] | 13 | #include <stdlib.h> |
---|
[6956] | 14 | |
---|
| 15 | #define TRUE (Boolean) 1 |
---|
| 16 | #define FALSE (Boolean) 0 |
---|
| 17 | #define SUCCESS 1 |
---|
| 18 | #define ERROR (-1) |
---|
| 19 | #define max(a, b) (a > b ? a : b) |
---|
Note: See
TracBrowser
for help on using the repository browser.