From: Kay Sievers Date: Fri, 13 Apr 2012 19:35:45 +0000 (+0200) Subject: udev: gudev - silence introspection scanner warning X-Git-Tag: v183~316 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e947e88d4b62bdd583bfc420c2d96247a9476e1;p=systemd udev: gudev - silence introspection scanner warning 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' kay, probably: -#define _GUDEV_INSIDE_GUDEV_H 1 +#define _GUDEV_INSIDE_GUDEV_H kay, if the scanner sees a define with a value it assumes it's a constant for public consumption kay, patch in https://bugzilla.gnome.org/show_bug.cgi?id=674072 fwiw walters: cool, thanks! walters: your workaround removing the "1" works. nice! --- diff --git a/src/gudev/gudev.h b/src/gudev/gudev.h index a3134608..6ae01f2b 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 #include #include