mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 08:36:05 -04:00
44 lines
781 B
C
44 lines
781 B
C
/* $NetBSD: facpri.h,v 1.2 2012/07/22 14:27:36 darrenr Exp $ */
|
|
|
|
/*
|
|
* Copyright (C) 2012 by Darren Reed.
|
|
*
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
*
|
|
* Id: facpri.h,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $
|
|
*/
|
|
|
|
#ifndef __FACPRI_H__
|
|
#define __FACPRI_H__
|
|
|
|
#ifndef __P
|
|
# define P_DEF
|
|
# ifdef __STDC__
|
|
# define __P(x) x
|
|
# else
|
|
# define __P(x) ()
|
|
# endif
|
|
#endif
|
|
|
|
extern char *fac_toname __P((int));
|
|
extern int fac_findname __P((char *));
|
|
|
|
extern char *pri_toname __P((int));
|
|
extern int pri_findname __P((char *));
|
|
|
|
#ifdef P_DEF
|
|
# undef __P
|
|
# undef P_DEF
|
|
#endif
|
|
|
|
#if LOG_CRON == (9<<3)
|
|
# define LOG_CRON1 LOG_CRON
|
|
# define LOG_CRON2 (15<<3)
|
|
#endif
|
|
#if LOG_CRON == (15<<3)
|
|
# define LOG_CRON1 (9<<3)
|
|
# define LOG_CRON2 LOG_CRON
|
|
#endif
|
|
|
|
#endif /* __FACPRI_H__ */
|