On Fri, Nov 16, 2001 at 02:07:46AM -0700, Stainless wrote: > $ gcc -DUnix -DOLD_RAND -DNOCRYPT *.c > cmdedit.c: In function `do_cmdedit': > cmdedit.c:143: conflicting types for `command' > cmdedit.c:142: previous declaration of `command'
You should make sure the declaration and the implementation are the same. > cmdedit.c:160: warning: passing arg 2 of `one_argument' makes pointer from > integer without a cast You shouldn't use an integer-type where a pointer is expected. > cmdedit.c:163: warning: passing arg 1 of `str_cmp' makes pointer from > integer without a cast You shouldn't use an integer-type where a pointer is expected. > cmdedit.c:170: warning: passing arg 1 of `str_cmp' makes pointer from > integer without a cast You shouldn't use an integer-type where a pointer is expected. > cmdedit.c:178: warning: passing arg 1 of `cmd_lookup' makes pointer from > integer without a cast You shouldn't use an integer-type where a pointer is expected. That should give enough hints on how to solve it :-) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/

