diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 15:26:46 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 15:26:46 +0200 |
commit | c32d4bcf4a1a99704c542114daea0b08efc76ecc (patch) | |
tree | 1348893efcd12e2d392a1c50f440e8aa0889f2d4 /gcc | |
parent | 76e5271b9c5a2c3111a80c38784b26895c0fedd4 (diff) | |
download | gcc-c32d4bcf4a1a99704c542114daea0b08efc76ecc.zip gcc-c32d4bcf4a1a99704c542114daea0b08efc76ecc.tar.gz gcc-c32d4bcf4a1a99704c542114daea0b08efc76ecc.tar.bz2 |
Refine previous change.
From-SVN: r177149
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/gcc-interface/gigi.h | 10 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/misc.c | 9 |
2 files changed, 5 insertions, 14 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index 13c9f54..8c3a257 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -929,11 +929,6 @@ extern bool default_pass_by_ref (tree gnu_type); if it should be passed by reference. */ extern bool must_pass_by_ref (tree gnu_type); -/* This function is called by the front-end to enumerate all the supported - modes for the machine, as well as some predefined C types. */ -extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int, - int)); - /* Return the size of the FP mode with precision PREC. */ extern int fp_prec_to_size (int prec); @@ -970,6 +965,11 @@ extern Nat get_target_strict_alignment (void); extern Nat get_target_double_float_alignment (void); extern Nat get_target_double_scalar_alignment (void); +/* This function is called by the front-end to enumerate all the supported + modes for the machine, as well as some predefined C types. */ +extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int, + int)); + #ifdef __cplusplus } #endif diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index 8531725..a03bb0f 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -637,10 +637,6 @@ must_pass_by_ref (tree gnu_type) && TREE_CODE (TYPE_SIZE (gnu_type)) != INTEGER_CST)); } -#ifdef __cplusplus -extern "C" { -#endif - /* This function is called by the front-end to enumerate all the supported modes for the machine, as well as some predefined C types. F is a function which is called back with the parameters as listed below, first a string, @@ -759,11 +755,6 @@ enumerate_modes (void (*f) (const char *, int, int, int, int, int, int)) } } -#ifdef __cplusplus -} -#endif - - /* Return the size of the FP mode with precision PREC. */ int |