Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / lib / sh / fmtumax.c
1 /* fmtumax.c -- Convert uintmax_t to string.  */
2
3 /* Copyright (C) 2002 Free Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 2, or (at your option) any
8 later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software Foundation,
17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
18
19 #include <config.h>
20
21 #define LONG    intmax_t
22 #define UNSIGNED_LONG   uintmax_t
23 #define fmtulong        fmtumax
24
25 #include "fmtulong.c"