Remove C++ guards from headers that are included only from C
This commit is contained in:
parent
0b9d87695e
commit
81a5afe4f1
|
@ -29,13 +29,6 @@
|
|||
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#if 0
|
||||
} /* Adjust editor indent */
|
||||
#endif
|
||||
|
||||
void
|
||||
patchage_dbus_init();
|
||||
|
||||
|
@ -75,11 +68,4 @@ patchage_dbus_uninit();
|
|||
|
||||
extern DBusError g_dbus_error;
|
||||
|
||||
#if 0
|
||||
{ /* Adjust editor indent */
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif // #ifndef DBUS_HELPERS_H__4078F17D_E387_4F96_8CAB_FF0BFF83A295__INCLUDED
|
||||
|
|
14
gui/glade.h
14
gui/glade.h
|
@ -29,22 +29,8 @@
|
|||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#if 0
|
||||
} /* Adjust editor indent */
|
||||
#endif
|
||||
|
||||
bool init_glade(void);
|
||||
void uninit_glade(void);
|
||||
GtkWidget * get_glade_widget(const char * name);
|
||||
|
||||
#if 0
|
||||
{ /* Adjust editor indent */
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* #ifndef GLADE_H__E2BF7CFC_1B04_4160_9165_A1B433C6B3C2__INCLUDED */
|
||||
|
|
|
@ -32,13 +32,6 @@
|
|||
|
||||
typedef struct graph_canvas_tag { int unused; } * graph_canvas_handle;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#if 0
|
||||
} /* Adjust editor indent */
|
||||
#endif
|
||||
|
||||
bool
|
||||
graph_canvas_create(
|
||||
int width,
|
||||
|
@ -62,11 +55,4 @@ canvas_handle
|
|||
graph_canvas_get_canvas(
|
||||
graph_canvas_handle graph_canvas);
|
||||
|
||||
#if 0
|
||||
{ /* Adjust editor indent */
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* #ifndef GRAPH_CANVAS_H__F145C6FA_633C_4E64_9117_ED301618B587__INCLUDED */
|
||||
|
|
Loading…
Reference in New Issue