summaryrefslogtreecommitdiff
path: root/clients/zleave
diff options
context:
space:
mode:
authorGravatar Dan Winship <danw@mit.edu>1999-08-12 20:19:28 +0000
committerGravatar Dan Winship <danw@mit.edu>1999-08-12 20:19:28 +0000
commit82d03cb6cc04d9830eafa0fc1887e777dc6a64cb (patch)
treefdf6eb7440889b15e0abe6eec20b91c982aa9463 /clients/zleave
parentfec950e474e5f7a177353db7b13f5818875741dd (diff)
fix things Irix n32 cc complains about
Diffstat (limited to 'clients/zleave')
-rw-r--r--clients/zleave/zleave.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clients/zleave/zleave.c b/clients/zleave/zleave.c
index ee2d8dd..91e8c14 100644
--- a/clients/zleave/zleave.c
+++ b/clients/zleave/zleave.c
@@ -14,6 +14,8 @@
#include <zephyr/mit-copyright.h>
#include <zephyr/zephyr.h>
+#include <com_err.h>
+
#ifndef lint
static char rcsid_zlocate_c[] = "$Id$";
#endif /* lint */
@@ -56,6 +58,8 @@ char *reminder_message = NULL;
char buff[100];
int use_zephyr=1, oldpid;
+void usage(), doalarm(), bother(), delay();
+
main(argc, argv)
char **argv;
{
@@ -175,6 +179,7 @@ char **argv;
exit(0);
}
+void
usage()
{
fprintf(stderr, "usage: zleave [[+]hhmm [-m \"Reminder Message\"]]\n\
@@ -201,6 +206,7 @@ int *hp, *mp;
return(1);
}
+void
doalarm(nmins)
long nmins;
{
@@ -302,6 +308,7 @@ long nmins;
exit(0);
}
+void
bother(slp, msg)
long slp;
char *msg;
@@ -376,6 +383,7 @@ char *msg;
* delay is like sleep but does it in 100 sec pieces and
* knows what zero means.
*/
+void
delay(secs)
long secs;
{