summaryrefslogtreecommitdiffstats
path: root/libexec/uucpd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-04-25 22:23:38 +0000
committerimp <imp@FreeBSD.org>1999-04-25 22:23:38 +0000
commit8b33b875effcc83c5a2de2bd72e2c70b04652373 (patch)
treedef5aac6eb0418a20ccd70112f0e053b4d4f221e /libexec/uucpd
parent35d2979599d0ad7a7aaf62f3d59fc099119b76d3 (diff)
downloadFreeBSD-src-8b33b875effcc83c5a2de2bd72e2c70b04652373.zip
FreeBSD-src-8b33b875effcc83c5a2de2bd72e2c70b04652373.tar.gz
More egcs warning fixes:
o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr
Diffstat (limited to 'libexec/uucpd')
-rw-r--r--libexec/uucpd/uucpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c
index dcb3b0e..9c422e9 100644
--- a/libexec/uucpd/uucpd.c
+++ b/libexec/uucpd/uucpd.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)uucpd.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id: uucpd.c,v 1.17 1999/04/06 23:06:00 brian Exp $";
+ "$Id: uucpd.c,v 1.18 1999/04/07 08:27:45 brian Exp $";
#endif /* not lint */
/*
@@ -102,7 +102,7 @@ void dologout(void);
int readline(char start[], int num, int passw);
void dologin(struct passwd *pw, struct sockaddr_in *sin);
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
environ = nenv;
close(1); close(2);
OpenPOWER on IntegriCloud