version 1.1, 1995/10/18 08:46:14 |
version 1.2, 1996/03/27 19:33:06 |
|
|
|
/* $OpenBSD$ */ |
|
/* $NetBSD: ring.h,v 1.5 1996/02/28 21:04:09 thorpej Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1988, 1993 |
* Copyright (c) 1988, 1993 |
* The Regents of the University of California. All rights reserved. |
* The Regents of the University of California. All rights reserved. |
|
|
* SUCH DAMAGE. |
* SUCH DAMAGE. |
* |
* |
* from: @(#)ring.h 8.1 (Berkeley) 6/6/93 |
* from: @(#)ring.h 8.1 (Berkeley) 6/6/93 |
* $Id$ |
|
*/ |
*/ |
|
|
#if defined(P) |
#include <sys/cdefs.h> |
# undef P |
#define P __P |
#endif |
|
|
|
#if defined(__STDC__) || defined(LINT_ARGS) |
|
# define P(x) x |
|
#else |
|
# define P(x) () |
|
#endif |
|
|
|
/* |
/* |
* This defines a structure for a ring buffer. |
* This defines a structure for a ring buffer. |