diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-22 02:46:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-15 20:30:15 +0200 |
commit | 3801b6de7878074a8e77445bad2a2d093889a3af (patch) | |
tree | d94eb17d944d2bd836ced6012ecf64c3fec8dcf1 | |
parent | f322112b84bef5f6e7c38c08e99a28c4f576c897 (diff) |
build-system: get rid of config.h inclusion checks
These header files include config.h explicitly anyway. These checks are
hence pointless.
Of course one could argue that including config.h from header files
sucks, but D-Bus generally seems not to have a problem with that, so
let's unify this.
-rw-r--r-- | dbus/dbus-marshal-basic.h | 4 | ||||
-rw-r--r-- | dbus/dbus-marshal-byteswap.h | 4 | ||||
-rw-r--r-- | dbus/dbus-marshal-header.h | 4 | ||||
-rw-r--r-- | dbus/dbus-marshal-recursive.h | 4 | ||||
-rw-r--r-- | dbus/dbus-marshal-validate.h | 4 |
5 files changed, 0 insertions, 20 deletions
diff --git a/dbus/dbus-marshal-basic.h b/dbus/dbus-marshal-basic.h index 28c751f4..bcc15ee9 100644 --- a/dbus/dbus-marshal-basic.h +++ b/dbus/dbus-marshal-basic.h @@ -31,10 +31,6 @@ #include <dbus/dbus-arch-deps.h> #include <dbus/dbus-string.h> -#ifndef PACKAGE -#error "config.h not included here" -#endif - #ifdef WORDS_BIGENDIAN #define DBUS_COMPILER_BYTE_ORDER DBUS_BIG_ENDIAN #else diff --git a/dbus/dbus-marshal-byteswap.h b/dbus/dbus-marshal-byteswap.h index 880c837e..e0f90e3a 100644 --- a/dbus/dbus-marshal-byteswap.h +++ b/dbus/dbus-marshal-byteswap.h @@ -28,10 +28,6 @@ #include <dbus/dbus-protocol.h> #include <dbus/dbus-marshal-recursive.h> -#ifndef PACKAGE -#error "config.h not included here" -#endif - void _dbus_marshal_byteswap (const DBusString *signature, int signature_start, int old_byte_order, diff --git a/dbus/dbus-marshal-header.h b/dbus/dbus-marshal-header.h index 52b6c737..e1cf52ee 100644 --- a/dbus/dbus-marshal-header.h +++ b/dbus/dbus-marshal-header.h @@ -28,10 +28,6 @@ #include <dbus/dbus-marshal-basic.h> #include <dbus/dbus-marshal-validate.h> -#ifndef PACKAGE -#error "config.h not included here" -#endif - typedef struct DBusHeader DBusHeader; typedef struct DBusHeaderField DBusHeaderField; diff --git a/dbus/dbus-marshal-recursive.h b/dbus/dbus-marshal-recursive.h index 14f38b2c..e533227c 100644 --- a/dbus/dbus-marshal-recursive.h +++ b/dbus/dbus-marshal-recursive.h @@ -28,10 +28,6 @@ #include <dbus/dbus-protocol.h> #include <dbus/dbus-list.h> -#ifndef PACKAGE -#error "config.h not included here" -#endif - typedef struct DBusTypeReader DBusTypeReader; typedef struct DBusTypeWriter DBusTypeWriter; typedef struct DBusTypeReaderClass DBusTypeReaderClass; diff --git a/dbus/dbus-marshal-validate.h b/dbus/dbus-marshal-validate.h index d09acc60..29419991 100644 --- a/dbus/dbus-marshal-validate.h +++ b/dbus/dbus-marshal-validate.h @@ -26,10 +26,6 @@ #include <config.h> -#ifndef PACKAGE -#error "config.h not included here" -#endif - /** * @addtogroup DBusMarshal * |