NetBSD/games/hack/def.func_tab.h
jsm ab8b63434d Make mostly gcc -W clean, and other cleanup:
Use const.
Add __noreturn__ attributes.
Add a __format__ attribute.
Add __unused__ attributes.
Use symbolic constants for open() and lseek().
Declare types of all function parameters; convert some function
definitions to ISO C form.
Ensure standard file descriptors are open on startup.
Check for errors writing output of makedefs.
Avoid duplicate definitions of variables.
2001-03-25 20:43:58 +00:00

22 lines
450 B
C

/* $NetBSD: def.func_tab.h,v 1.5 2001/03/25 20:43:58 jsm Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
#ifndef _DEF_FUNC_TAB_H_
#define _DEF_FUNC_TAB_H_
struct func_tab {
char f_char;
int (*f_funct) __P((void));
};
extern const struct func_tab cmdlist[];
struct ext_func_tab {
const char *ef_txt;
int (*ef_funct) __P((void));
};
extern const struct ext_func_tab extcmdlist[];
#endif /* _DEF_FUNC_TAB_H_ */