chiark / gitweb /
udev: gudev - silence introspection scanner warning
authorKay Sievers <kay@vrfy.org>
Fri, 13 Apr 2012 19:35:45 +0000 (21:35 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 13 Apr 2012 19:35:45 +0000 (21:35 +0200)
commit5e947e88d4b62bdd583bfc420c2d96247a9476e1
treec074a265a99f55264c6052dbd446ceff22f31ad6
parent2dad62205f3412198769f227ac4a1130f7887eec
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!
src/gudev/gudev.h