smbpasswd compile warnings....

Gerald Carter jerry at samba.org
Tue Feb 12 06:57:14 GMT 2002


Herb,

I think these would be yours...


Compiling utils/smbpasswd.c
utils/smbpasswd.c: In function `process_options':
utils/smbpasswd.c:75: warning: implicit declaration of function `strdup_x'
utils/smbpasswd.c:75: warning: assignment makes pointer from integer 
without a cast
utils/smbpasswd.c:80: warning: assignment makes pointer from integer 
without a cast
utils/smbpasswd.c:93: warning: assignment makes pointer from integer 
without a cast
utils/smbpasswd.c:105: warning: implicit declaration of function 
`set_line_buffering'
utils/smbpasswd.c:146: warning: implicit declaration of function `usage'
utils/smbpasswd.c:174: warning: assignment makes pointer from integer 
without a cast
utils/smbpasswd.c: At top level:
utils/smbpasswd.c:187: warning: `strdup_x' was declared implicitly 
`extern' and later `static'
utils/smbpasswd.c:174: warning: previous declaration of `strdup_x'
utils/smbpasswd.c:187: warning: type mismatch with previous implicit 
declaration
utils/smbpasswd.c:174: warning: previous implicit declaration of 
`strdup_x'
utils/smbpasswd.c:187: warning: `strdup_x' was previously implicitly 
declared to return `int'
utils/smbpasswd.c:201: warning: `usage' was declared implicitly `extern' 
and later `static'
utils/smbpasswd.c:154: warning: previous declaration of `usage'
utils/smbpasswd.c:201: warning: type mismatch with previous implicit 
declaration
utils/smbpasswd.c:154: warning: previous implicit declaration of `usage'
utils/smbpasswd.c:201: warning: `usage' was previously implicitly declared 
to return `int'
utils/smbpasswd.c:594: warning: `set_line_buffering' was declared 
implicitly `extern' and later `static'
utils/smbpasswd.c:105: warning: previous declaration of 
`set_line_buffering'
utils/smbpasswd.c:594: warning: type mismatch with previous implicit 
declaration
utils/smbpasswd.c:105: warning: previous implicit declaration of 
`set_line_buffering'
utils/smbpasswd.c:594: warning: `set_line_buffering' was previously 
implicitly declared to return `int'
Compiling libsmb/cli_lsarpc.c





chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list