[Openswan dev] nss/nspr4 warning and PLUTO_SENDS_VENDORID vs HAVE_LIBNSS
D. Hugh Redelmeier
hugh at mimosa.com
Sun Jan 3 15:42:01 EST 2010
| From: Elio Maldonado Batiz <elio.maldonado.batiz at gmail.com>
| I searched and someone already filed a similar bug regarding strict
| prototypes
| https://bugzilla.mozilla.org/show_bug.cgi?id=410677
| There is a long discussion. Unfortunately, it won't be fixed for fear of
| breaking existing code.
[Warning: I've not read any of the code we're talking about.]
In that bugzilla entry, the comment that seemed most correct was #6.
It seems as if PRFuncPtr is intended to be a generic pointer to
function returning void. Any use of a value of this type ought to be
cast to the correct type (i.e. a cast that supplies the prototype for
argument types).
That would get rid of warnings too.
-------------- next part --------------
_______________________________________________
Dev mailing list
Dev at openswan.org
http://lists.openswan.org/mailman/listinfo/dev
More information about the Dev
mailing list