(PARAMS): Update prototype.
[gnulib.git] / lib / xstrtoul.h
index 8251c57..99f1642 100644 (file)
@@ -1,7 +1,13 @@
-#ifndef _xstrtoul_h_
-#define _xstrtoul_h_ 1
+#ifndef XSTRTOUL_H_
+# define XSTRTOUL_H_ 1
 
-#define STRING_TO_UNSIGNED 1
-#include "xstrtol.h"
+# define STRING_TO_UNSIGNED 1
 
-#endif /* _xstrtoul_h_ */
+/* Undefine this symbol so we can include xstrtol.h a second time.
+   Otherwise, a program that wanted both xstrtol.h and xstrtoul.h
+   would never get the declaration corresponding to the header file 
+   included after the first one.  */
+# undef XSTRTOL_H_
+# include "xstrtol.h"
+
+#endif /* not XSTRTOUL_H_ */