[Midnightbsd-cvs] CVS Commit: cron.c: Don't use implicit int.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 18 02:59:04 EDT 2007
Log Message:
-----------
Don't use implicit int.
$MidnightBSD$
Remove __P
Modified Files:
--------------
src/usr.sbin/cron/cron:
cron.c (r1.1.1.2 -> r1.2)
-------------- next part --------------
Index: cron.c
===================================================================
RCS file: /home/cvs/src/usr.sbin/cron/cron/cron.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -Lusr.sbin/cron/cron/cron.c -Lusr.sbin/cron/cron/cron.c -u -r1.1.1.2 -r1.2
--- usr.sbin/cron/cron/cron.c
+++ usr.sbin/cron/cron/cron.c
@@ -13,11 +13,12 @@
* Send bug reports, bug fixes, enhancements, requests, flames, etc., and
* I'll try to keep a version up to date. I can be reached as follows:
* Paul Vixie <paul at vix.com> uunet!decwrl!vixie!paul
+ * $FreeBSD: src/usr.sbin/cron/cron/cron.c,v 1.15.8.1 2006/01/15 17:50:36 delphij Exp $
*/
#if !defined(lint) && !defined(LINT)
static const char rcsid[] =
- "$FreeBSD: src/usr.sbin/cron/cron/cron.c,v 1.15.8.1 2006/01/15 17:50:36 delphij Exp $";
+ "$MidnightBSD$";
#endif
#define MAIN_PROGRAM
@@ -32,17 +33,17 @@
#endif
-static void usage __P((void)),
- run_reboot_jobs __P((cron_db *)),
- cron_tick __P((cron_db *)),
- cron_sync __P((void)),
- cron_sleep __P((cron_db *)),
- cron_clean __P((cron_db *)),
+static void usage(void),
+ run_reboot_jobs(cron_db *),
+ cron_tick(cron_db *),
+ cron_sync(void),
+ cron_sleep(cron_db *),
+ cron_clean(cron_db *),
#ifdef USE_SIGCHLD
- sigchld_handler __P((int)),
+ sigchld_handler(int),
#endif
- sighup_handler __P((int)),
- parse_args __P((int c, char *v[]));
+ sighup_handler(int),
+ parse_args(int c, char *v[]);
static time_t last_time = 0;
static int dst_enabled = 0;
@@ -398,7 +399,7 @@
#ifdef USE_SIGCHLD
static void
-sigchld_handler(x) {
+sigchld_handler(int x) {
WAIT_T waiter;
PID_T pid;
@@ -428,7 +429,7 @@
static void
-sighup_handler(x) {
+sighup_handler(int x) {
log_close();
}
More information about the Midnightbsd-cvs
mailing list