Deleted Added
full compact
callout.h (2112) callout.h (2165)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)callout.h 8.2 (Berkeley) 1/21/94
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)callout.h 8.2 (Berkeley) 1/21/94
39 * $Id: callout.h,v 1.2 1994/08/02 07:52:40 davidg Exp $
39 * $Id: callout.h,v 1.3 1994/08/18 22:35:41 wollman Exp $
40 */
41
40 */
41
42#ifndef _SYS_CALLOUT_H_
43#define _SYS_CALLOUT_H_
44
42struct callout {
43 struct callout *c_next; /* next callout in queue */
44 void *c_arg; /* function argument */
45 void (*c_func) __P((void *)); /* function to call */
46 int c_time; /* ticks to the event */
47};
48
49#ifdef KERNEL
50extern struct callout *callfree, *callout, calltodo;
51extern int ncallout;
52#endif
45struct callout {
46 struct callout *c_next; /* next callout in queue */
47 void *c_arg; /* function argument */
48 void (*c_func) __P((void *)); /* function to call */
49 int c_time; /* ticks to the event */
50};
51
52#ifdef KERNEL
53extern struct callout *callfree, *callout, calltodo;
54extern int ncallout;
55#endif
56
57#endif