aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cfns.gperf
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-02-19 23:13:29 +0100
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-02-19 22:13:29 +0000
commit3a27b4db566c2cde8e043220f3d2c5401159b10e (patch)
treeaad5fd751640b7db60e215dcaf2f898a0f65157e /gcc/cp/cfns.gperf
parent871b3f473a4bca51d05c1682efb5017385ec9e9e (diff)
downloadgcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.zip
gcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.tar.gz
gcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.tar.bz2
Make-lang.in: Invoke gperf with -L C++.
2016-02-19 Jakub Jelinek <jakub@redhat.com> Bernd Edlinger <bernd.edlinger@hotmail.de> * Make-lang.in: Invoke gperf with -L C++. * cfns.gperf: Remove prototypes for hash and libc_name_p inlines. * cfns.h: Regenerated. * except.c (nothrow_libfn_p): Adjust. Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de> From-SVN: r233572
Diffstat (limited to 'gcc/cp/cfns.gperf')
-rw-r--r--gcc/cp/cfns.gperf10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf
index 2784edc..8d7f015 100644
--- a/gcc/cp/cfns.gperf
+++ b/gcc/cp/cfns.gperf
@@ -1,3 +1,5 @@
+%language=C++
+%define class-name libc_name
%{
/* Copyright (C) 2000-2016 Free Software Foundation, Inc.
@@ -16,14 +18,6 @@ for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#ifdef __GNUC__
-__inline
-#endif
-static unsigned int hash (const char *, unsigned int);
-#ifdef __GNUC__
-__inline
-#endif
-const char * libc_name_p (const char *, unsigned int);
%}
%%
# The standard C library functions, for feeding to gperf; the result is used