DragonFly BSD
DragonFly bugs List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Forward-static, or not?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 14 Jun 2005 15:22:34 -0700

Joerg Sonnenberger wrote:
On Tue, Jun 14, 2005 at 05:45:19AM -0700, walt wrote:

From sys/ddb/db_command.c:

/* XXX this is actually forward-static. */
extern struct command   db_show_cmds[];


Try again.

Okay, I did. This time it stopped with exactly the same error for these two files:

sys/kern/subr_prf.c:
static int msgbufmapped;

sys/sys/msgbuf.h:
extern int      msgbufmapped;

I really don't understand how I compiled the same code yesterday
with the same compiler!  Did you do something sneaky like change
warnings to errors?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]