Mercurial > hg > Members > kono > nitros9-code
changeset 2106:c4c7facbd082
Fixed up some warnings
line wrap: on
line diff
--- a/3rdparty/packages/uucpbb/src/adduser.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/adduser.c Sat Oct 07 12:11:22 2006 +0000 @@ -139,7 +139,7 @@ QQ PWENT *entry; /* */ -main (argc, argv) +int main (argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/chown.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/chown.c Sat Oct 07 12:11:22 2006 +0000 @@ -47,7 +47,7 @@ unsigned getuserid(); -main (argc, argv) +int main (argc, argv) int argc; char **argv; {
--- a/3rdparty/packages/uucpbb/src/dir_6809.h Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/dir_6809.h Sat Oct 07 12:11:22 2006 +0000 @@ -20,4 +20,4 @@ extern DIR *opendir(); extern DIRECT *readdir(); extern long telldir(); -extern /* void */ seekdir(), closedir(); +extern int /* void */ seekdir(), closedir();
--- a/3rdparty/packages/uucpbb/src/dotilde.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/dotilde.c Sat Oct 07 12:11:22 2006 +0000 @@ -47,7 +47,7 @@ int interrupt(); -main (argc, argv) +int main(argc, argv) int argc; char **argv; {
--- a/3rdparty/packages/uucpbb/src/fileserv.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/fileserv.c Sat Oct 07 12:11:22 2006 +0000 @@ -96,7 +96,7 @@ -main() +int main() { char replyto[256], address[256], line[BUFSIZE], buff[BUFSIZE]; register char *lp;
--- a/3rdparty/packages/uucpbb/src/fixtext.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/fixtext.c Sat Oct 07 12:11:22 2006 +0000 @@ -37,7 +37,7 @@ #include "uucp.h" -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/gproto.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/gproto.c Sat Oct 07 12:11:22 2006 +0000 @@ -33,7 +33,7 @@ /* used for a quick calculation of packet sizes, only in this file */ -static uucpbufsiz[9] = {0, 32, 64, 128, 256, 512, 1024, 2048, 4096}; +static int uucpbufsiz[9] = {0, 32, 64, 128, 256, 512, 1024, 2048, 4096}; /* This variable tells swin_flush() to accept a LDATA(HY) in response to a LDATA(HY) sent by us. Normally, only an RR or RJ are accepted -- BAS */
--- a/3rdparty/packages/uucpbb/src/login.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/login.c Sat Oct 07 12:11:22 2006 +0000 @@ -115,7 +115,7 @@ /* FUNCTION main() PURPOSE main loop */ -main() +int main() { int i;
--- a/3rdparty/packages/uucpbb/src/mail.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/mail.c Sat Oct 07 12:11:22 2006 +0000 @@ -68,7 +68,7 @@ int interrupt(); -main (argc, argv) +int main(argc, argv) int argc; char **argv; {
--- a/3rdparty/packages/uucpbb/src/newsutils.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/newsutils.c Sat Oct 07 12:11:22 2006 +0000 @@ -254,7 +254,7 @@ -static logerror (msg) +static int logerror (msg) char *msg; { fprintf (log, "%s %s %s\n", sender, gtime(), msg);
--- a/3rdparty/packages/uucpbb/src/postnews.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/postnews.c Sat Oct 07 12:11:22 2006 +0000 @@ -67,7 +67,7 @@ char tempfile[100]; /* moved from postgroup() so interrupt() */ /* can clean up -- REB */ -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/readnews.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/readnews.c Sat Oct 07 12:11:22 2006 +0000 @@ -56,7 +56,7 @@ char *mailer = MAILER; -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/rmail.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/rmail.c Sat Oct 07 12:11:22 2006 +0000 @@ -70,7 +70,7 @@ long _gs_size(); -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/rnews.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/rnews.c Sat Oct 07 12:11:22 2006 +0000 @@ -34,7 +34,7 @@ QQ int debuglvl = 0; struct mbuf *getgroups(); -main(argc,argv) +int main(argc,argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/subscribe.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/subscribe.c Sat Oct 07 12:11:22 2006 +0000 @@ -29,7 +29,7 @@ char line[512]; -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/uuclean.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uuclean.c Sat Oct 07 12:11:22 2006 +0000 @@ -96,7 +96,7 @@ void mail_owner(); void mvlogs(); -main (argc, argv) +int main (argc, argv) int argc; char *argv[]; { @@ -310,7 +310,7 @@ Slightly modified by Mark Griffith to return a time the number of days less than the current time as passed in offset. */ -rtime (offset, datebuff) +int rtime (offset, datebuff) long offset; struct sgtbuf *datebuff; {
--- a/3rdparty/packages/uucpbb/src/uucp.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uucp.c Sat Oct 07 12:11:22 2006 +0000 @@ -35,7 +35,7 @@ QQ FILE *log; -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/uudecode.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uudecode.c Sat Oct 07 12:11:22 2006 +0000 @@ -17,7 +17,7 @@ char buf[256]; -main (argc, argv) +int main (argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/uuencode.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uuencode.c Sat Oct 07 12:11:22 2006 +0000 @@ -16,7 +16,7 @@ #define ENC(c) (((c)&077) + ' ') -main (argc, argv) +int main (argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/uulog.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uulog.c Sat Oct 07 12:11:22 2006 +0000 @@ -45,7 +45,7 @@ void usage(), fatal(); -main (argc, argv) +int main(argc, argv) int argc; char *argv[]; {
--- a/3rdparty/packages/uucpbb/src/uuname.c Fri Sep 29 16:16:25 2006 +0000 +++ b/3rdparty/packages/uucpbb/src/uuname.c Sat Oct 07 12:11:22 2006 +0000 @@ -28,7 +28,7 @@ void showlocalname(), showsystems(), fatal(), usage(); -main (argc, argv) +int main (argc, argv) int argc; char *argv[]; {