summaryrefslogtreecommitdiff
path: root/lib/strtoul.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-21 12:12:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-21 12:12:13 -0700
commita8a2bb29e2ea28dce51bb3a8680bfe2bd6945365 (patch)
treef382d740123da83c6f212cae2ecfcbd6555060e4 /lib/strtoul.c
parentd78050d6bab1f1add4284163b8fc474495ac6580 (diff)
* Makefile.in (GNULIB_MODULES): Add strtoumax.
Diffstat (limited to 'lib/strtoul.c')
-rw-r--r--lib/strtoul.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/strtoul.c b/lib/strtoul.c
new file mode 100644
index 0000000000..6fa6d0c2e0
--- /dev/null
+++ b/lib/strtoul.c
@@ -0,0 +1,19 @@
+/* Copyright (C) 1991, 1997, 2009-2011 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */
+
+#define UNSIGNED 1
+
+#include "strtol.c"