[patch] make dbus compile with -pedantic
Trent Lloyd
lathiat at bur.st
Wed Oct 19 04:42:31 PDT 2005
Yeh i sent this same patch before, but I'm not sure where it went, I
guess nobody committed it.
Trent
On Wed, Oct 19, 2005 at 01:40:28PM +0200, Timo Hoenig wrote:
> Hi,
>
> the attached patch fixes D-BUS to compile with '-pedantic'.
>
> IIRC this fix (or a similar one) was sent to the list before but somehow
> got lost.
>
> Thanks,
>
> Timo
> --- dbus/dbus-arch-deps.h.in
> +++ dbus/dbus-arch-deps.h.in
> @@ -29,7 +29,7 @@
>
> #include <dbus/dbus-macros.h>
>
> -DBUS_BEGIN_DECLS;
> +DBUS_BEGIN_DECLS
>
> #if @DBUS_HAVE_INT64@
> #define DBUS_HAVE_INT64 1
> @@ -51,6 +51,6 @@
> typedef @DBUS_INT16_TYPE@ dbus_int16_t;
> typedef unsigned @DBUS_INT16_TYPE@ dbus_uint16_t;
>
> -DBUS_END_DECLS;
> +DBUS_END_DECLS
>
> #endif /* DBUS_ARCH_DEPS_H */
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
--
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.
More information about the dbus
mailing list