Vendor branch: upgrade grep from 2.20 => 2.22
[dragonfly.git] / contrib / grep / lib / strtoull.c
1 /* Function to parse an 'unsigned long long int' from text.
2    Copyright (C) 1995-1997, 1999, 2009-2015 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