1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
19 lines
511 B
C
19 lines
511 B
C
/* Note: This is a copy of /usr/include/sys/callout.h with the c_func */
|
|
/* member of struct callout changed from a pointer to a function of type int*/
|
|
/* to a pointer to a function of type void (generic pointer) as per */
|
|
/* ANSI C */
|
|
|
|
/* $FreeBSD$ */
|
|
|
|
#ifndef _ppp_callout_h
|
|
#define _ppp_callout_h
|
|
|
|
struct callout {
|
|
int c_time; /* incremental time */
|
|
caddr_t c_arg; /* argument to routine */
|
|
void (*c_func)(); /* routine (changed to void (*)() */
|
|
struct callout *c_next;
|
|
};
|
|
|
|
#endif /*!_ppp_callout_h*/
|