gutils: move G_END_DECLS to the end of gutils.h

Previously, some declarations near the bottom came after the
G_END_DECLS, causing linker errors for C++ users that called those
functions.

https://bugzilla.gnome.org/show_bug.cgi?id=690902
This commit is contained in:
Michael Henning 2012-12-29 23:57:23 -05:00 committed by Matthias Clasen
parent 81c1fd22bd
commit 0d3da350c6

View File

@ -307,8 +307,6 @@ g_bit_storage (gulong number)
} }
#endif /* G_CAN_INLINE || __G_UTILS_C__ */ #endif /* G_CAN_INLINE || __G_UTILS_C__ */
G_END_DECLS
#ifndef G_DISABLE_DEPRECATED #ifndef G_DISABLE_DEPRECATED
/* /*
@ -372,4 +370,6 @@ const gchar *g_get_tmp_dir_utf8 (void);
gchar *g_find_program_in_path_utf8 (const gchar *program); gchar *g_find_program_in_path_utf8 (const gchar *program);
#endif #endif
G_END_DECLS
#endif /* __G_UTILS_H__ */ #endif /* __G_UTILS_H__ */