From: Gabriel Dos Reis Date: Thu, 28 Apr 2011 01:25:01 +0000 (+0000) Subject: internal-fn.h (internal_fn_name_array): Declare. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbaf0d0c082815cf67d958b7c9f596b1f814eca0;p=gcc.git internal-fn.h (internal_fn_name_array): Declare. * internal-fn.h (internal_fn_name_array): Declare. (internal_fn_flags_array): Likewise. From-SVN: r173055 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e9cb343c33..cbaa0e62600 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-27 Gabriel Dos Reis + + * internal-fn.h (internal_fn_name_array): Declare. + (internal_fn_flags_array): Likewise. + 2011-04-27 Uros Bizjak * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, diff --git a/gcc/internal-fn.h b/gcc/internal-fn.h index c9e660b2d6a..6c09411f4ef 100644 --- a/gcc/internal-fn.h +++ b/gcc/internal-fn.h @@ -30,19 +30,21 @@ enum internal_fn { /* Return the name of internal function FN. The name is only meaningful for dumps; it has no linkage. */ +extern const char *const internal_fn_name_array[]; + static inline const char * internal_fn_name (enum internal_fn fn) { - extern const char *const internal_fn_name_array[]; return internal_fn_name_array[(int) fn]; } /* Return the ECF_* flags for function FN. */ +extern const int internal_fn_flags_array[]; + static inline int internal_fn_flags (enum internal_fn fn) { - extern const int internal_fn_flags_array[]; return internal_fn_flags_array[(int) fn]; }