NetBSD/usr.sbin/pppd/callout.h

17 lines
494 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 */
#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*/