ack/modules/h/ansi.h
1994-06-24 11:31:16 +00:00

30 lines
631 B
C

/* (c) copyright 1992 by the Vrije Universiteit, Amsterdam, The Netherlands.
*/
#ifndef __ANSI_H__INCLUDED
#define __ANSI_H__INCLUDED
/* T O A N S I O R N O T T O A N S I ? */
/* $Id$ */
/* Define the * _PROTOTYPE macro to either expand both of its arguments
(ANSI prototypes), or only the function name (K&R prototypes).
*/
#if __STDC__
#include <stddef.h>
#define _PROTOTYPE(function, params) function params
#define _SIZET size_t
#define _CONST const
#else
#define _PROTOTYPE(function, params) function()
#define _SIZET unsigned int
#define _CONST
#endif /* __STDC__ */
#endif /* __ANSI_H__INCLUDED */