[PATCH] dbus-arch-deps.h is not ISO C compliant
Trent Lloyd
lathiat at bur.st
Thu Sep 8 05:44:00 PDT 2005
Round two.. let's try attaching the patch this time. :)
Trent
On Thu, Sep 08, 2005 at 08:41:49PM +0800, Trent Lloyd wrote:
> Hi guys,
>
> ATM dbus-arch-deps.h isn't ISO C compliant, its only a warning really,
> just that theres a superflous ; where it shouldn't be.
>
> example warning:
> In file included from /usr/include/dbus-1.0/dbus/dbus.h:33,
> from dbus-watch-glue.h:25,
> from dbus-watch-glue.c:27:
> /usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:32: warning: ISO C does not allow extra ';' outside of a function
> /usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:54: warning: ISO C does not allow extra ';' outside of a function
>
> Patch attached.
>
> Cheers,
> Trent
>
> --
> Trent Lloyd <lathiat at bur.st>
> Bur.st Networking Inc.
> _______________________________________________
> 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.
-------------- next part --------------
? dbus_sharp_16bit_v1.diff
? iso-c.diff
Index: dbus/dbus-arch-deps.h.in
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-arch-deps.h.in,v
retrieving revision 1.3
diff -r1.3 dbus-arch-deps.h.in
32c32
< DBUS_BEGIN_DECLS;
---
> DBUS_BEGIN_DECLS
54c54
< DBUS_END_DECLS;
---
> DBUS_END_DECLS
More information about the dbus
mailing list