Move single-include guards inside include guards

gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
This commit is contained in:
Matthias Clasen
2012-12-27 23:43:14 -05:00
parent 89d48d7800
commit e1b99b2ddc
216 changed files with 648 additions and 648 deletions

View File

@@ -16,13 +16,13 @@
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GLIB_TYPES_H__
#define __GLIB_TYPES_H__
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) && !defined(GLIB_COMPILATION)
#error "Only <glib-object.h> can be included directly."
#endif
#ifndef __GLIB_TYPES_H__
#define __GLIB_TYPES_H__
#include <glib.h>
G_BEGIN_DECLS