]> git.saurik.com Git - bison.git/blobdiff - src/system.h
Fix incorrect comment.
[bison.git] / src / system.h
index 755a75cb39cf55323179f08ebb464dcbef3fddaa..369218cd0b82f7af5aef92710615067d7dcd8cc4 100644 (file)
 
 #include <limits.h>
 #include <stddef.h>
 
 #include <limits.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include <stdlib.h>
 #include <string.h>
 
-/* Verify a requirement at compile-time (unlike assert, which is runtime).  */
-#define verify(name, assertion) struct name {char name[(assertion) ? 1 : -1];}
+#include "unlocked-io.h"
 
 #if HAVE_SYS_TYPES_H
 # include <sys/types.h>
 
 #if HAVE_SYS_TYPES_H
 # include <sys/types.h>
@@ -54,6 +52,9 @@
 typedef size_t uintptr_t;
 #endif
 
 typedef size_t uintptr_t;
 #endif
 
+#include <assert.h>
+
+#include <verify.h>
 #include <xalloc.h>
 
 
 #include <xalloc.h>
 
 
@@ -63,6 +64,9 @@ typedef size_t uintptr_t;
 
 #include <stpcpy.h>
 
 
 #include <stpcpy.h>
 
+/* From lib/basename.c. */
+char *base_name (char const *name);
+
 
 /*-----------------.
 | GCC extensions.  |
 
 /*-----------------.
 | GCC extensions.  |