summaryrefslogtreecommitdiff
path: root/db/clib/strtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'db/clib/strtoul.c')
-rw-r--r--db/clib/strtoul.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/db/clib/strtoul.c b/db/clib/strtoul.c
index e4356963b..a4b4117a4 100644
--- a/db/clib/strtoul.c
+++ b/db/clib/strtoul.c
@@ -30,24 +30,22 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: strtoul.c,v 1.3 2004/10/28 19:27:19 bostic Exp $
+ * $Id: strtoul.c,v 12.2 2006/05/28 14:04:59 bostic Exp $
*/
#include "db_config.h"
-#ifndef NO_SYSTEM_INCLUDES
-#include <limits.h>
-#include <ctype.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <stdio.h>
-#endif
+#include "db_int.h"
/*
* Convert a string to an unsigned long integer.
*
* Assumes that the upper and lower case
* alphabets and digits are each contiguous.
+ *
+ * PUBLIC: #ifndef HAVE_STRTOUL
+ * PUBLIC: unsigned long strtoul __P((const char *, char **, int));
+ * PUBLIC: #endif
*/
unsigned long
strtoul(nptr, endptr, base)