diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2010-08-12 17:03:58 -0400 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2010-08-25 13:45:28 +0100 |
commit | 92ce24a7371bf7e8582e88752b5728458d67c653 (patch) | |
tree | 63cf5d026ddd6db8c503b7752c48ae136fcbf1b9 /osinfo/osinfo_device.h | |
parent | 605824715b405c796ffce4f92b6151a406cb195e (diff) | |
download | libosinfo-92ce24a7371bf7e8582e88752b5728458d67c653.tar.gz |
Add decl for all _get_type() methods & enable warnings
Eliminate compile warnings about undeclared XXX_get_type()
methods, by adding declarations for all objects.
Switch to using standard GNOME m4 magic for compile
warnings. Force enablement of automake maintainer
mode, so that Makefile is re-generated if Makefile.am
ever changes. Enable silent build rules so that compile
warnings can be more easily spotted.
* Makefile.am: Whitespace tweak
* configure.ac: Remove -Wall, -Werror. Add
GNOME_COMPILE_WARNINGS, GNOME_MAINTAINER_MODE_DEFINES,
AM_MAINTAINER_MODE, AM_SILENT_RULES
* osinfo/*.h: Add XXX_get_type() declarations for all
objects
* osinfo/Makefile.am: Add $(WARN_CFLAGS) to build
Diffstat (limited to 'osinfo/osinfo_device.h')
-rw-r--r-- | osinfo/osinfo_device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osinfo/osinfo_device.h b/osinfo/osinfo_device.h index 9f10e6b..41d89ca 100644 --- a/osinfo/osinfo_device.h +++ b/osinfo/osinfo_device.h @@ -44,6 +44,8 @@ struct _OsinfoDeviceClass /* class members */ }; +GType osinfo_device_get_type(void); + gchar *osinfoGetDeviceDriver(OsinfoDevice *self, gchar *devType, OsinfoOs *os, OsinfoHypervisor *hv, GError **err); #endif /* __OSINFO_DEVICE_H__ */ |