[cairo] Re: Add missing prototypes for getline and strndup commit (Was: [cairo-commit] 4 commits - perf/cairo-perf-diff-files.c pixman/src src/Makefile.am)

Carl Worth cworth at cworth.org
Mon Apr 30 14:13:54 PDT 2007

On Sat, 28 Apr 2007 18:26:53 -0400, Behdad Esfahbod wrote:
> Humm, the patch "also" does things that it doesn't specify in the commit
> log.  Bad cworth :>.  It's an either/or btw, if you declare those two
> static, no need to prototype them, so you can remove the hardly-not-ugly
> prototypes-wrapped-in-an-ifdef.

I had thought the warnings that had tripped the user up were about
these functions being used before they were defined. So that's why I
added the prototypes where I did, (while also noting that the
functions are static).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070430/76a4b848/attachment.pgp

More information about the cairo mailing list