Clean up include macros mess

The order and way include macros were structured was chaotic, with no
real common thread between files. Try to tidy up the mess with some
common scheme, to make things look less messy.
This commit is contained in:
Jonas Ådahl
2018-07-10 10:36:24 +02:00
parent 92f4ffc0dd
commit 2f4a68c8c3
274 changed files with 1488 additions and 1376 deletions

View File

@ -26,12 +26,9 @@
#define _POSIX_C_SOURCE 200112L /* for fdopen() */
#include <config.h>
#include <meta/common.h>
#include "util-private.h"
#include <meta/main.h>
#include "config.h"
#include <clutter/clutter.h> /* For clutter_threads_add_repaint_func() */
#include "core/util-private.h"
#include <stdio.h>
#include <stdlib.h>
@ -41,6 +38,10 @@
#include <X11/Xlib.h> /* must explicitly be included for Solaris; #326746 */
#include <X11/Xutil.h> /* Just for the definition of the various gravities */
#include "clutter/clutter.h"
#include "meta/common.h"
#include "meta/main.h"
#ifdef WITH_VERBOSE_MODE
static void
meta_topic_real_valist (MetaDebugTopic topic,