There are a few files missing #include <config.h>.
That is bad since it means those files don't get debug tracing.
This commit eliminates the pitfall by making sure the file is
included implicitly
# Global C flags
add_project_arguments([
'-D_GNU_SOURCE',
+ '-include', 'config.h',
],
language: 'c'
)
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-boot-client.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Written by: Ray Strode <rstrode@redhat.com>
* Soeren Sandmann <sandmann@redhat.com>
*/
-#include "config.h"
#include "ply-boot-splash.h"
#include <assert.h>
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
-#include "config.h"
#include "ply-device-manager.h"
#include "ply-renderer.h"
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-keyboard.h"
#include <assert.h>
* Kristian Høgsberg <krh@redhat.com>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-list.h"
#include "ply-pixel-buffer.h"
#include "ply-logger.h"
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-pixel-display.h"
#include <assert.h>
* Kristian Høgsberg <krh@redhat.com>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-renderer.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-terminal.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-text-display.h"
#include <assert.h>
* Ray Strode <rstrode@redhat.com>
* Soeren Sandmann <sandmann@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
* 02111-1307, USA.
*
*/
-#include "config.h"
#include <assert.h>
#include <stdio.h>
*
* Written by: William Jon McCann <jmccann@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
*
* Written by: Hans de Goede <hdegoede@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <stdbool.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
* Ray Strode <rstrode@redhat.com>
* Carl D. Worth <cworth@cworth.org>
*/
-#include "config.h"
#include "ply-image.h"
#include "ply-pixel-buffer.h"
*
* Written by: Hans de Goede <hdegoede@redhat.com>
*/
-#include "config.h"
#include <stdbool.h>
#include <stdio.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-label.h"
#include <assert.h>
* Written by: William Jon McCann <jmccann@redhat.com>
*
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
* Will Woods <wwoods@redhat.com>
* Hans de Goede <hdegoede@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <dirent.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-array.h"
#include <assert.h>
*
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "ply-bitarray.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-buffer.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-command-parser.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-event-loop.h"
#include <assert.h>
*
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "ply-hashtable.h"
#include "ply-utils.h"
#include "ply-bitarray.h"
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-key-file.h"
#include <assert.h>
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-list.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-logger.h"
#include <assert.h>
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include <assert.h>
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-list.h"
#include "ply-rectangle.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-region.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-terminal-session.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-trigger.h"
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include <config.h>
#include "ply-utils.h"
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <sys/stat.h>
#include <sys/types.h>
* Written by: Ray Strode <rstrode@redhat.com>
* Written by: Fabian Vogt <fvogt@suse.com>
*/
-#include "config.h"
#include <stdio.h>
#include <stdint.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Ray Strode <rstrode@redhat.com>
* Hans de Goede <hdegoede@redhat.com>
*/
-#include "config.h"
#include <arpa/inet.h>
#include <assert.h>
* Peter Jones <pjones@redhat.com>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <arpa/inet.h>
#include <assert.h>
* Peter Jones <pjones@redhat.com>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <arpa/inet.h>
#include <assert.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include "ply-hashtable.h"
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include "ply-hashtable.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "ply-image.h"
#include "ply-label.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "ply-utils.h"
#include "script.h"
*/
#pragma weak ply_keyboard_get_capslock_state
-#include "config.h"
#include "ply-boot-splash-plugin.h"
#include "ply-utils.h"
*
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "ply-image.h"
#include "ply-utils.h"
#include "ply-logger.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
-#include "config.h"
#include "script.h"
#include "script-parse.h"
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include "ply-hashtable.h"
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include "ply-hashtable.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include <stdio.h>
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
#endif
#include "ply-hashtable.h"
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* 02111-1307, USA.
*
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Written by: Adam Jackson <ajax@redhat.com>
* Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
* Written by: William Jon McCann, Hans de Goede <hdegoede@redhat.com>
*
*/
-#include "config.h"
#include <assert.h>
#include <errno.h>
*
* Written by: Ray Strode <rstrode@redhat.com>
*/
-#include "config.h"
#include "ply-boot-server.h"
#include <assert.h>
*
* Written by: Colin Watson <cjwatson@ubuntu.com>
*/
-#include "config.h"
#include "ply-upstart-monitor.h"
#include <assert.h>
*
* Written by: Colin Watson <cjwatson@ubuntu.com>
*/
-#include "config.h"
#include <stdbool.h>
#include <signal.h>