Hello,

On Sun, Oct 23, 2005 at 10:25:48PM -0700, Paul Eggert wrote:
> Simon Josefsson <[EMAIL PROTECTED]> writes:
> > In file included from smbutil.c:34:
> > lib/des.h:62: conflicting types for `des_setkey'
...
> If they are supposed to have the same semantics but the FreeBSD
> versions are buggy, you could rename the functions in unistd.h
> instead, by using #define before #include <unistd.h>.  It's a bit of a
> hack, as it requires that client code to include your .h file before
> it includes unistd.h.  I suppose another possibility is to use linker
> magic but this is a bit less portable in practice.

wouldn't it be better if lib/des.h contained

#include <unistd.h>
#define des_setkey rpl_des_setkey

What am I missing?

Have a nice day,
        Stepan


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to