INN commit: trunk/contrib (Makefile expirectl.c)
INN Commit
rra at isc.org
Thu Sep 8 17:28:50 UTC 2011
Date: Thursday, September 8, 2011 @ 10:28:50
Author: iulius
Revision: 9374
fix the return type of main()
Use an int for main() return type.
Modified:
trunk/contrib/Makefile
trunk/contrib/expirectl.c
-------------+
Makefile | 2 +-
expirectl.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
Modified: Makefile
===================================================================
--- Makefile 2011-09-08 17:26:52 UTC (rev 9373)
+++ Makefile 2011-09-08 17:28:50 UTC (rev 9374)
@@ -9,7 +9,7 @@
top = ..
CFLAGS = $(GCFLAGS)
-ALL = archivegz backlogstat cleannewsgroups delayer \
+ALL = archivegz backlogstat cleannewsgroups delayer expirectl \
findreadgroups makeexpctl makestorconf mlockfile newsresp \
pullart reset-cnfs respool stathist thdexpire \
tunefeed
Modified: expirectl.c
===================================================================
--- expirectl.c 2011-09-08 17:26:52 UTC (rev 9373)
+++ expirectl.c 2011-09-08 17:28:50 UTC (rev 9374)
@@ -46,7 +46,7 @@
#define EXPIRE_CTL EXPIRE_CTL_DIR "/expire.ctl"
#define EXPIRE_CTL_CTL EXPIRE_CTL_DIR "/expire.ctl.ctl"
-void
+int
main(int ac, char **av)
{
struct statfs sfs;
@@ -261,6 +261,8 @@
}
}
exit(0);
+
+ return 1;
}
More information about the inn-committers
mailing list