Fixed bitrot in K&R support (3 missing __P(())'s defeated the point of 7
non-missing ones in <com_err.h> which includes this file).
This commit is contained in:
parent
1ef4c904b6
commit
1e2904b73e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55986
@ -37,10 +37,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: com_right.h,v 1.8 1998/02/17 21:19:43 bg Exp $ */
|
/* $Id: com_right.h,v 1.8 1998/02/17 21:19:43 bg Exp $ */
|
||||||
|
/* $FreeBSD$ */
|
||||||
|
|
||||||
#ifndef __COM_RIGHT_H__
|
#ifndef __COM_RIGHT_H__
|
||||||
#define __COM_RIGHT_H__
|
#define __COM_RIGHT_H__
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
struct error_table {
|
struct error_table {
|
||||||
char const * const * msgs;
|
char const * const * msgs;
|
||||||
long base;
|
long base;
|
||||||
@ -52,8 +55,9 @@ struct et_list {
|
|||||||
};
|
};
|
||||||
extern struct et_list *_et_list;
|
extern struct et_list *_et_list;
|
||||||
|
|
||||||
const char *com_right(struct et_list *list, long code);
|
const char *com_right __P((struct et_list *list, long code));
|
||||||
void initialize_error_table_r(struct et_list **, const char **, int, long);
|
void initialize_error_table_r __P((struct et_list **, const char **, int,
|
||||||
void free_error_table(struct et_list *);
|
long));
|
||||||
|
void free_error_table __P((struct et_list *));
|
||||||
|
|
||||||
#endif /* __COM_RIGHT_H__ */
|
#endif /* __COM_RIGHT_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user