compiles fine
This commit is contained in:
parent
b517afbfad
commit
815c9db00d
12 changed files with 79 additions and 90 deletions
10
gspa.c
10
gspa.c
|
|
@ -28,11 +28,6 @@
|
|||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: gspa.c,v 1.16 2025/11/24 08:04:28 nia Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -42,7 +37,6 @@ __RCSID("$NetBSD: gspa.c,v 1.16 2025/11/24 08:04:28 nia Exp $");
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <util.h>
|
||||
|
||||
#include "gsp_ass.h"
|
||||
#include "gsp_gram.h"
|
||||
|
|
@ -80,7 +74,7 @@ struct input {
|
|||
jmp_buf synerrjmp;
|
||||
|
||||
void setext(char *, const char *, const char *);
|
||||
__dead static void usage(void);
|
||||
static void usage(void);
|
||||
int yyparse(void);
|
||||
|
||||
void c_dumpbuf(void);
|
||||
|
|
@ -159,7 +153,7 @@ main(int argc, char **argv)
|
|||
" * Do not edit manually.\n"
|
||||
" */\n"
|
||||
"#include <sys/types.h>\n"
|
||||
"u_int16_t %s[] = {\n\t", c_name);
|
||||
"uint16_t %s[] = {\n\t", c_name);
|
||||
}
|
||||
if (list_name)
|
||||
if ((listfile = fopen(list_name, "w")) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue