mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
(func): Add prototype declarations to avoid warning.
This commit is contained in:
parent
464d97ecc5
commit
630aaf07fa
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -27,12 +27,13 @@ extern const char *__ctype32_wctrans[2];
|
|||||||
|
|
||||||
/* Provide real-function versions of all the wctype macros. */
|
/* Provide real-function versions of all the wctype macros. */
|
||||||
|
|
||||||
#define func(name, type) \
|
#define func(name, type) \
|
||||||
int \
|
extern int __##name (wint_t __wc); \
|
||||||
__##name (wint_t wc) \
|
int \
|
||||||
{ \
|
__##name (wint_t wc) \
|
||||||
return wctype_table_lookup (__ctype32_wctype[type], wc); \
|
{ \
|
||||||
} \
|
return wctype_table_lookup (__ctype32_wctype[type], wc); \
|
||||||
|
} \
|
||||||
weak_alias (__##name, name)
|
weak_alias (__##name, name)
|
||||||
|
|
||||||
#undef iswalnum
|
#undef iswalnum
|
||||||
|
Loading…
Reference in New Issue
Block a user