summaryrefslogtreecommitdiffstats
path: root/sys/sys/callout.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 20:18:42 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 20:18:42 +0000
commit3b2d03b60a11ce28e58a87212bcccedd306f2c81 (patch)
tree233cfc0a5493dd5fb7407b0b8be25bcdc426772d /sys/sys/callout.h
parent3f502bc0e38e05c234115d22c39f02e6a4ab4fcb (diff)
downloadFreeBSD-src-3b2d03b60a11ce28e58a87212bcccedd306f2c81.zip
FreeBSD-src-3b2d03b60a11ce28e58a87212bcccedd306f2c81.tar.gz
Remove __P
Diffstat (limited to 'sys/sys/callout.h')
-rw-r--r--sys/sys/callout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/callout.h b/sys/sys/callout.h
index d973375..cab6692 100644
--- a/sys/sys/callout.h
+++ b/sys/sys/callout.h
@@ -54,7 +54,7 @@ struct callout {
} c_links;
int c_time; /* ticks to the event */
void *c_arg; /* function argument */
- void (*c_func) __P((void *)); /* function to call */
+ void (*c_func)(void *); /* function to call */
int c_flags; /* state of this entry */
};
@@ -77,10 +77,10 @@ extern struct mtx callout_lock;
#define callout_active(c) ((c)->c_flags & CALLOUT_ACTIVE)
#define callout_deactivate(c) ((c)->c_flags &= ~CALLOUT_ACTIVE)
-void callout_init __P((struct callout *, int));
+void callout_init(struct callout *, int);
#define callout_pending(c) ((c)->c_flags & CALLOUT_PENDING)
-void callout_reset __P((struct callout *, int, void (*)(void *), void *));
-int callout_stop __P((struct callout *));
+void callout_reset(struct callout *, int, void (*)(void *), void *);
+int callout_stop(struct callout *);
#endif
OpenPOWER on IntegriCloud