--- Stainless <[EMAIL PROTECTED]> wrote: > Its probably something really simple but here it goes. As you know I have > completed translating the complete program of Ivan's OLC 2.1. The only > problem I'm running into at this time is this: > > same command problem. with command. Here is the : Make errors: > > $ 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' > cmdedit.c:160: warning: passing arg 2 of `one_argument' makes pointer from > integer without a cast > cmdedit.c:163: warning: passing arg 1 of `str_cmp' makes pointer from > integer without a cast > cmdedit.c:170: warning: passing arg 1 of `str_cmp' makes pointer from > integer without a cast > cmdedit.c:178: warning: passing arg 1 of `cmd_lookup' makes pointer from > integer without a cast > > I can't paste the grep for command because it would be too long.
How's about you paste lines 142, 143, 160, 163, 170, and 178. Then we might be able to help. ~Kender ===== -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$ P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com

