projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
07194cd
)
ANSI says NULL should be defined here too
author
Chris Torek
<torek@ucbvax.Berkeley.EDU>
Sat, 13 Nov 1993 06:31:05 +0000
(22:31 -0800)
committer
Chris Torek
<torek@ucbvax.Berkeley.EDU>
Sat, 13 Nov 1993 06:31:05 +0000
(22:31 -0800)
SCCS-vsn: include/stdlib.h 8.2
usr/src/include/stdlib.h
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/include/stdlib.h
b/usr/src/include/stdlib.h
index
043228e
..
b9502e2
100644
(file)
--- a/
usr/src/include/stdlib.h
+++ b/
usr/src/include/stdlib.h
@@
-4,7
+4,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)stdlib.h 8.
1
(Berkeley) %G%
+ * @(#)stdlib.h 8.
2
(Berkeley) %G%
*/
#ifndef _STDLIB_H_
*/
#ifndef _STDLIB_H_
@@
-35,6
+35,10
@@
typedef struct {
long rem; /* remainder */
} ldiv_t;
long rem; /* remainder */
} ldiv_t;
+#ifndef NULL
+#define NULL 0
+#endif
+
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0