mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
move up some forward declarations
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(lint) && !defined(SABER)
|
#if !defined(lint) && !defined(SABER)
|
||||||
static char rcsid[] = "$Id: confparser.y,v 1.38 2000/02/06 15:07:03 brister Exp $";
|
static char rcsid[] = "$Id: confparser.y,v 1.39 2000/02/08 20:44:53 halley Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@@ -75,8 +75,7 @@ static isc_lexspecials_t specials;
|
|||||||
#define CONF_MAX_IDENT 1024
|
#define CONF_MAX_IDENT 1024
|
||||||
|
|
||||||
/* This should be sufficient to permit multiple parsers and lexers if needed */
|
/* This should be sufficient to permit multiple parsers and lexers if needed */
|
||||||
#define yyparse confyyparse
|
#define yyparse dns_yyparse
|
||||||
#define yylex confyylex
|
|
||||||
|
|
||||||
#define YYDEBUG 1
|
#define YYDEBUG 1
|
||||||
|
|
||||||
@@ -92,6 +91,8 @@ static void parser_complain(isc_boolean_t is_warning,
|
|||||||
const char *format, va_list args);
|
const char *format, va_list args);
|
||||||
static isc_boolean_t unit_to_uint32(char *in, isc_uint32_t *out);
|
static isc_boolean_t unit_to_uint32(char *in, isc_uint32_t *out);
|
||||||
static void yyerror(const char *);
|
static void yyerror(const char *);
|
||||||
|
static int yylex(void);
|
||||||
|
int yyparse(void);
|
||||||
|
|
||||||
/* returns true if (base * mult) would be too big.*/
|
/* returns true if (base * mult) would be too big.*/
|
||||||
static isc_boolean_t int_too_big(isc_uint32_t base, isc_uint32_t mult);
|
static isc_boolean_t int_too_big(isc_uint32_t base, isc_uint32_t mult);
|
||||||
@@ -3666,9 +3667,6 @@ static int token_value(isc_token_t *token,
|
|||||||
isc_symtab_t *symtable);
|
isc_symtab_t *symtable);
|
||||||
static void init_action(void);
|
static void init_action(void);
|
||||||
|
|
||||||
static int yylex(void);
|
|
||||||
int yyparse(void);
|
|
||||||
|
|
||||||
static YYSTYPE lastyylval;
|
static YYSTYPE lastyylval;
|
||||||
static int lasttoken;
|
static int lasttoken;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user