summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsm/t-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/libsm/t-event.c')
-rw-r--r--contrib/sendmail/libsm/t-event.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/sendmail/libsm/t-event.c b/contrib/sendmail/libsm/t-event.c
index 6073776..c6eb82e 100644
--- a/contrib/sendmail/libsm/t-event.c
+++ b/contrib/sendmail/libsm/t-event.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001-2002, 2004 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: t-event.c,v 1.11 2002/04/25 01:50:25 ca Exp $")
+SM_RCSID("@(#)$Id: t-event.c,v 1.12 2004/08/03 20:50:32 ca Exp $")
#include <stdio.h>
@@ -22,9 +22,12 @@ SM_RCSID("@(#)$Id: t-event.c,v 1.11 2002/04/25 01:50:25 ca Exp $")
#include <sm/clock.h>
#include <sm/test.h>
-int check;
+static void evcheck __P((int));
+static void ev1 __P((int));
-void
+static int check;
+
+static void
evcheck(arg)
int arg;
{
@@ -33,7 +36,7 @@ evcheck(arg)
check++;
}
-void
+static void
ev1(arg)
int arg;
{
OpenPOWER on IntegriCloud