diff options
Diffstat (limited to 'libcpp/include')
| -rw-r--r-- | libcpp/include/cpp-id-data.h | 8 | ||||
| -rw-r--r-- | libcpp/include/cpplib.h | 8 | ||||
| -rw-r--r-- | libcpp/include/line-map.h | 8 | ||||
| -rw-r--r-- | libcpp/include/mkdeps.h | 8 | ||||
| -rw-r--r-- | libcpp/include/symtab.h | 8 |
5 files changed, 0 insertions, 40 deletions
diff --git a/libcpp/include/cpp-id-data.h b/libcpp/include/cpp-id-data.h index d2adbfaebdf..a57edad521d 100644 --- a/libcpp/include/cpp-id-data.h +++ b/libcpp/include/cpp-id-data.h @@ -18,10 +18,6 @@ along with this program; see the file COPYING3. If not see #include "cpplib.h" -#ifdef __cplusplus -extern "C" { -#endif - #if !defined (HAVE_UCHAR) && !defined (IN_GCC) typedef unsigned char uchar; #endif @@ -83,7 +79,3 @@ struct GTY(()) cpp_macro { tokens. */ unsigned int extra_tokens : 1; }; - -#ifdef __cplusplus -} -#endif diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index d39b80e2a5a..71c7ef26351 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -28,10 +28,6 @@ along with this program; see the file COPYING3. If not see #include "symtab.h" #include "line-map.h" -#ifdef __cplusplus -extern "C" { -#endif - typedef struct cpp_reader cpp_reader; typedef struct cpp_buffer cpp_buffer; typedef struct cpp_options cpp_options; @@ -933,8 +929,4 @@ extern void cpp_prepare_state (cpp_reader *, struct save_macro_data **); extern int cpp_read_state (cpp_reader *, const char *, FILE *, struct save_macro_data *); -#ifdef __cplusplus -} -#endif - #endif /* ! LIBCPP_CPPLIB_H */ diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index 09e72f14d4b..31ac8e5d4c3 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -23,10 +23,6 @@ along with this program; see the file COPYING3. If not see #ifndef LIBCPP_LINE_MAP_H #define LIBCPP_LINE_MAP_H -#ifdef __cplusplus -extern "C" { -#endif - #ifndef GTY #define GTY(x) /* nothing */ #endif @@ -191,8 +187,4 @@ extern const struct line_map *linemap_lookup extern source_location linemap_position_for_column (struct line_maps *set, unsigned int to_column); -#ifdef __cplusplus -} -#endif - #endif /* !LIBCPP_LINE_MAP_H */ diff --git a/libcpp/include/mkdeps.h b/libcpp/include/mkdeps.h index def7b5641f8..50bcee40726 100644 --- a/libcpp/include/mkdeps.h +++ b/libcpp/include/mkdeps.h @@ -23,10 +23,6 @@ along with this program; see the file COPYING3. If not see #ifndef LIBCPP_MKDEPS_H #define LIBCPP_MKDEPS_H -#ifdef __cplusplus -extern "C" { -#endif - /* This is the data structure used by all the functions in mkdeps.c. It's quite straightforward, but should be treated as opaque. */ @@ -80,8 +76,4 @@ extern int deps_restore (struct deps *, FILE *, const char *); automatic dependency schemes. */ extern void deps_phony_targets (const struct deps *, FILE *); -#ifdef __cplusplus -} -#endif - #endif /* ! LIBCPP_MKDEPS_H */ diff --git a/libcpp/include/symtab.h b/libcpp/include/symtab.h index e1bc00cb6f6..ebb56007a03 100644 --- a/libcpp/include/symtab.h +++ b/libcpp/include/symtab.h @@ -21,10 +21,6 @@ along with this program; see the file COPYING3. If not see #include "obstack.h" -#ifdef __cplusplus -extern "C" { -#endif - #ifndef GTY #define GTY(x) /* nothing */ #endif @@ -104,8 +100,4 @@ extern void ht_load (hash_table *ht, hashnode *entries, /* Dump allocation statistics to stderr. */ extern void ht_dump_statistics (hash_table *); -#ifdef __cplusplus -} -#endif - #endif /* LIBCPP_SYMTAB_H */ |

