summaryrefslogtreecommitdiff
path: root/usr/src/cmd/cron/cron.c
diff options
context:
space:
mode:
authorbasabi <none@none>2005-09-13 07:37:29 -0700
committerbasabi <none@none>2005-09-13 07:37:29 -0700
commit032624d56c174c5c55126582b32e314a6af15522 (patch)
treeac44d0f39005a6a32204d598de37b5a2e2b7704f /usr/src/cmd/cron/cron.c
parentf8047eab588b3c002f465da96280cf9f29b21d19 (diff)
downloadillumos-joyent-032624d56c174c5c55126582b32e314a6af15522.tar.gz
6271014 gcc and cmd/cron don't get along
6271953 gcc and cmd/login don't get along 6274736 gcc and ucbcmd/expr don't get along 6274737 gcc and ucbcmd/from don't get along 6274776 gcc and ucbcmd/rusage don't get along 6274779 gcc and ucbcmd/shutdown don't get along
Diffstat (limited to 'usr/src/cmd/cron/cron.c')
-rw-r--r--usr/src/cmd/cron/cron.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/cron/cron.c b/usr/src/cmd/cron/cron.c
index f29c1917ef..cac3ff108c 100644
--- a/usr/src/cmd/cron/cron.c
+++ b/usr/src/cmd/cron/cron.c
@@ -316,8 +316,8 @@ static void process_msg(struct message *, time_t);
static void reap_child(void);
static void miscpid_insert(pid_t);
static int miscpid_delete(pid_t);
-static int contract_set_template(void);
-static int contract_clear_template(void);
+static void contract_set_template(void);
+static void contract_clear_template(void);
static void contract_abandon_latest(pid_t);
static void cte_init(void);
@@ -3236,8 +3236,8 @@ miscpid_delete(pid_t pid)
* Establish contract terms such that all children are in abandoned
* process contracts.
*/
-static int
-contract_set_template()
+static void
+contract_set_template(void)
{
int fd;
@@ -3261,8 +3261,8 @@ contract_set_template()
/*
* Clear active process contract template.
*/
-static int
-contract_clear_template()
+static void
+contract_clear_template(void)
{
int fd;