diff options
| author | Paul Eggert | 2011-04-21 12:12:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-21 12:12:13 -0700 |
| commit | a8a2bb29e2ea28dce51bb3a8680bfe2bd6945365 (patch) | |
| tree | f382d740123da83c6f212cae2ecfcbd6555060e4 /lib/strtoull.c | |
| parent | d78050d6bab1f1add4284163b8fc474495ac6580 (diff) | |
| download | emacs-a8a2bb29e2ea28dce51bb3a8680bfe2bd6945365.tar.gz emacs-a8a2bb29e2ea28dce51bb3a8680bfe2bd6945365.zip | |
* Makefile.in (GNULIB_MODULES): Add strtoumax.
Diffstat (limited to 'lib/strtoull.c')
| -rw-r--r-- | lib/strtoull.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/strtoull.c b/lib/strtoull.c new file mode 100644 index 00000000000..bf259958d6e --- /dev/null +++ b/lib/strtoull.c | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* Function to parse an `unsigned long long int' from text. | ||
| 2 | Copyright (C) 1995-1997, 1999, 2009-2011 Free Software Foundation, Inc. | ||
| 3 | NOTE: The canonical source of this file is maintained with the GNU C | ||
| 4 | Library. Bugs can be reported to bug-glibc@gnu.org. | ||
| 5 | |||
| 6 | This program is free software: you can redistribute it and/or modify it | ||
| 7 | under the terms of the GNU General Public License as published by the | ||
| 8 | Free Software Foundation; either version 3 of the License, or any | ||
| 9 | later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #define QUAD 1 | ||
| 20 | |||
| 21 | #include "strtoul.c" | ||
| 22 | |||
| 23 | #ifdef _LIBC | ||
| 24 | strong_alias (__strtoull_internal, __strtouq_internal) | ||
| 25 | weak_alias (strtoull, strtouq) | ||
| 26 | #endif | ||