mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 22:58:17 +02:00
Include config.h automatically
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
This commit is contained in:
parent
1b43dd504f
commit
54fb7e1d56
64 changed files with 1 additions and 63 deletions
|
|
@ -62,6 +62,7 @@ endif
|
|||
# Global C flags
|
||||
add_project_arguments([
|
||||
'-D_GNU_SOURCE',
|
||||
'-include', 'config.h',
|
||||
],
|
||||
language: 'c'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-boot-client.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
* Soeren Sandmann <sandmann@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-boot-splash.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
* 02111-1307, USA.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-device-manager.h"
|
||||
#include "ply-renderer.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-keyboard.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
* 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"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-pixel-display.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
* Kristian Høgsberg <krh@redhat.com>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-renderer.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-terminal.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-text-display.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
* Ray Strode <rstrode@redhat.com>
|
||||
* Soeren Sandmann <sandmann@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
* 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: William Jon McCann <jmccann@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
* Ray Strode <rstrode@redhat.com>
|
||||
* Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-image.h"
|
||||
#include "ply-pixel-buffer.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-label.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: William Jon McCann <jmccann@redhat.com>
|
||||
*
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* Will Woods <wwoods@redhat.com>
|
||||
* Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-array.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-bitarray.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-buffer.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-command-parser.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-event-loop.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-hashtable.h"
|
||||
#include "ply-utils.h"
|
||||
#include "ply-bitarray.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-key-file.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-list.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-logger.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* 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"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-region.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-terminal-session.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-trigger.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include <config.h>
|
||||
|
||||
#include "ply-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
* Written by: Fabian Vogt <fvogt@suse.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
* Ray Strode <rstrode@redhat.com>
|
||||
* Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* Peter Jones <pjones@redhat.com>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* Peter Jones <pjones@redhat.com>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "ply-hashtable.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "ply-hashtable.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "ply-image.h"
|
||||
#include "ply-label.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "ply-utils.h"
|
||||
#include "script.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
#pragma weak ply_keyboard_get_capslock_state
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "ply-boot-splash-plugin.h"
|
||||
#include "ply-utils.h"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-image.h"
|
||||
#include "ply-utils.h"
|
||||
#include "ply-logger.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "script.h"
|
||||
#include "script-parse.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "ply-hashtable.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "ply-hashtable.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "ply-hashtable.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* Written by: Charlie Brej <cbrej@cs.man.ac.uk>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
* 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: Adam Jackson <ajax@redhat.com>
|
||||
* Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* Written by: William Jon McCann, Hans de Goede <hdegoede@redhat.com>
|
||||
*
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Ray Strode <rstrode@redhat.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-boot-server.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Colin Watson <cjwatson@ubuntu.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "ply-upstart-monitor.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
* Written by: Colin Watson <cjwatson@ubuntu.com>
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <signal.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue