1 Sat Sep 3 16:03:25 EDT 2005 Kito Danya Dietrich <kito@gentoo.org>
3 * hard-locale.h (hard_locale): Declare xmalloc in global scope rather than
4 function scope which gcc-4.x rejects.
6 --- gawk-3.1.5/hard-locale.h
7 +++ gawk-3.1.5/hard-locale.h
9 along with this program; if not, write to the Free Software Foundation,
10 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
12 +static ptr_t xmalloc PARAMS ((size_t n));
14 /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
15 can't get away with assuming traditional C or POSIX behavior. */
17 if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
20 - static ptr_t xmalloc PARAMS ((size_t n));
22 char *locale = xmalloc (strlen (p) + 1);