blob: 21440e05f0a3fce645a06a05a5d30b415184dc3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- sim/q.c.orig 1992-10-07 04:52:52.000000000 +0100
+++ sim/q.c 2007-11-23 22:23:21.000000000 +0100
@@ -23,8 +23,6 @@
extern char *sim_calloc(), *sim_malloc();
-#define NULL 0
-
/* If using GCC, this function is declared inline in q.h. */
#ifndef INLINE
q_elt *
@@ -95,7 +93,7 @@
return TRUE;
}
- return NULL; /* not in queue, fail */
+ return 0; /* not in queue, fail */
}
q_del(q, elt)
@@ -120,7 +118,7 @@
return TRUE;
}
- return NULL; /* not in queue, fail */
+ return 0; /* not in queue, fail */
}
|