diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-13 21:35:45 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-13 21:35:45 +0200 |
commit | 5e947e88d4b62bdd583bfc420c2d96247a9476e1 (patch) | |
tree | c074a265a99f55264c6052dbd446ceff22f31ad6 | |
parent | dbus: expose whether we have a hardware watchdog on the bus (diff) | |
download | systemd-5e947e88d4b62bdd583bfc420c2d96247a9476e1.tar.xz systemd-5e947e88d4b62bdd583bfc420c2d96247a9476e1.zip |
udev: gudev - silence introspection scanner warning
<kay> walters: you happen to know how to silence this? gudev.h:24: Warning:
GUdev: symbol='_GUDEV_INSIDE_GUDEV_H': Unknown namespace for symbol 'GUDEV_INSIDE_GUDEV_H'
<walters> kay, probably:
<walters> -#define _GUDEV_INSIDE_GUDEV_H 1
<walters> +#define _GUDEV_INSIDE_GUDEV_H
<walters> kay, if the scanner sees a define with a value it assumes it's a constant for public consumption
<walters> kay, patch in https://bugzilla.gnome.org/show_bug.cgi?id=674072 fwiw
<kay> walters: cool, thanks!
<kay> walters: your workaround removing the "1" works. nice!
-rw-r--r-- | src/gudev/gudev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gudev/gudev.h b/src/gudev/gudev.h index a313460817..6ae01f2bf1 100644 --- a/src/gudev/gudev.h +++ b/src/gudev/gudev.h @@ -21,7 +21,7 @@ #ifndef __G_UDEV_H__ #define __G_UDEV_H__ -#define _GUDEV_INSIDE_GUDEV_H 1 +#define _GUDEV_INSIDE_GUDEV_H #include <gudev/gudevenums.h> #include <gudev/gudevenumtypes.h> #include <gudev/gudevtypes.h> |