about summary refs log tree commit diff
path: root/linuxthreads/semaphore.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-23 02:45:25 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-23 02:45:25 +0000
commit93a19c64c994e85e1c3e87cefa1d68c15e7acb0d (patch)
treedcf18973f70632a0ff493b38c4389d87d1e73f17 /linuxthreads/semaphore.h
parent7ed09044b19ac0e2d20b9d15b1d389246cb32047 (diff)
downloadglibc-93a19c64c994e85e1c3e87cefa1d68c15e7acb0d.tar.gz
glibc-93a19c64c994e85e1c3e87cefa1d68c15e7acb0d.tar.xz
glibc-93a19c64c994e85e1c3e87cefa1d68c15e7acb0d.zip
Update.
2000-02-22  Ulrich Drepper  <drepper@redhat.com>

	* semaphore.h (SEM_FAILED): Use 0 not NULL.
Diffstat (limited to 'linuxthreads/semaphore.h')
-rw-r--r--linuxthreads/semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h
index a3cc422377..21a9deaafe 100644
--- a/linuxthreads/semaphore.h
+++ b/linuxthreads/semaphore.h
@@ -39,7 +39,7 @@ typedef struct
 
 
 /* Value returned if `sem_open' failed.  */
-#define SEM_FAILED	((sem_t *) NULL)
+#define SEM_FAILED	((sem_t *) 0)
 
 /* Maximum value the semaphore can have.  */
 #define SEM_VALUE_MAX 	((int) ((~0u) >> 1))