clean up warnings and stuff

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8451 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-06-22 00:42:52 +00:00
parent 6110b44e5a
commit a332440382
4 changed files with 738 additions and 121 deletions

View File

@@ -1,6 +1,6 @@
%{
/*
* Copyright (c) 1998, 1999 Kungliga Tekniska H<>gskolan
* Copyright (c) 1998 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -33,11 +33,12 @@
*/
#include "compile_et.h"
#include "lex.h"
RCSID("$Id$");
void yyerror (char *s);
long name2number(const char *str);
void error_message(char *, ...);
static long name2number(const char *str);
extern char *yytext;
@@ -134,7 +135,7 @@ statement : INDEX NUMBER
%%
long
static long
name2number(const char *str)
{
const char *p;