summaryrefslogtreecommitdiff
path: root/libc-parts/strtoul.c
diff options
context:
space:
mode:
authormarcus <marcus>2003-09-19 17:06:48 +0000
committermarcus <marcus>2003-09-19 17:06:48 +0000
commitc63474bc68ec3b769771804ecdb675fb955966a2 (patch)
tree0913227625eef4206ec32381d2b03f7c0374e077 /libc-parts/strtoul.c
parentbf7bdb2481c0c8ec07643898c345d61f4310d1e4 (diff)
2003-09-19 Marcus Brinkmann <marcus@gnu.org>
* ctype.h, errno.h, errno.c: New files. * c-ctype.h, c-ctype.c, strtol.c: New files from gnulib. * Makefile.am (libc_parts_a_SOURCES): Add ctype.h, c-ctype.h, c-ctype.c, errno.h, errno.c, strtol.c, strtoll.c, strtoul.c and strtoull.c. (routines): Add atoi, atoll, strtoimax and strtoumax.
Diffstat (limited to 'libc-parts/strtoul.c')
-rw-r--r--libc-parts/strtoul.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc-parts/strtoul.c b/libc-parts/strtoul.c
new file mode 100644
index 0000000..bb62f9b
--- /dev/null
+++ b/libc-parts/strtoul.c
@@ -0,0 +1,20 @@
+/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#define UNSIGNED 1
+
+#include "strtol.c"