[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/m4.h,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/m4.h,v [branch-1_4] |
Date: |
Thu, 27 Jul 2006 21:41:13 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/27 21:41:12
Index: src/m4.h
===================================================================
RCS file: /sources/m4/m4/src/m4.h,v
retrieving revision 1.1.1.1.2.19
retrieving revision 1.1.1.1.2.20
diff -u -b -r1.1.1.1.2.19 -r1.1.1.1.2.20
--- src/m4.h 24 Jul 2006 20:02:16 -0000 1.1.1.1.2.19
+++ src/m4.h 27 Jul 2006 21:41:12 -0000 1.1.1.1.2.20
@@ -43,9 +43,6 @@
# define OS2 1
#endif
-/* FIXME - we no longer need this ansi2knr hack. */
-#define _(Args) Args
-
#include <ctype.h>
#include <errno.h>
#include <string.h>
@@ -116,7 +113,7 @@
#define M4ERROR(Arglist) \
(reference_error (), error Arglist)
-void reference_error _((void));
+void reference_error (void);
#ifdef USE_STACKOVF
void setup_stackovf_trap _((char *const *, char *const *,
@@ -207,15 +204,15 @@
} \
while (0)
-void debug_init _((void));
-int debug_decode _((const char *));
-void debug_flush_files _((void));
-boolean debug_set_output _((const char *));
-void debug_message_prefix _((void));
-
-void trace_prepre _((const char *, int));
-void trace_pre _((const char *, int, int, token_data **));
-void trace_post _((const char *, int, int, token_data **, const char *));
+void debug_init (void);
+int debug_decode (const char *);
+void debug_flush_files (void);
+boolean debug_set_output (const char *);
+void debug_message_prefix (void);
+
+void trace_prepre (const char *, int);
+void trace_pre (const char *, int, int, token_data **);
+void trace_post (const char *, int, int, token_data **, const char *);
/* File: input.c --- lexical definitions. */
@@ -265,18 +262,18 @@
typedef enum token_type token_type;
typedef enum token_data_type token_data_type;
-void input_init _((void));
-int peek_input _((void));
-token_type next_token _((token_data *));
-void skip_line _((void));
+void input_init (void);
+int peek_input (void);
+token_type next_token (token_data *);
+void skip_line (void);
/* push back input */
-void push_file _((FILE *, const char *));
-void push_macro _((builtin_func *));
-struct obstack *push_string_init _((void));
-const char *push_string_finish _((void));
-void push_wrapup _((const char *));
-boolean pop_wrapup _((void));
+void push_file (FILE *, const char *);
+void push_macro (builtin_func *);
+struct obstack *push_string_init (void);
+const char *push_string_finish (void);
+void push_wrapup (const char *);
+boolean pop_wrapup (void);
/* current input file, and line */
extern const char *current_file;
@@ -291,22 +288,22 @@
#define DEF_BCOMM "#"
#define DEF_ECOMM "\n"
-void set_quotes _((const char *, const char *));
-void set_comment _((const char *, const char *));
+void set_quotes (const char *, const char *);
+void set_comment (const char *, const char *);
#ifdef ENABLE_CHANGEWORD
-void set_word_regexp _((const char *));
+void set_word_regexp (const char *);
#endif
/* File: output.c --- output functions. */
extern int current_diversion;
extern int output_current_line;
-void output_init _((void));
-void shipout_text _((struct obstack *, const char *, int));
-void make_diversion _((int));
-void insert_diversion _((int));
-void insert_file _((FILE *));
-void freeze_diversions _((FILE *));
+void output_init (void);
+void shipout_text (struct obstack *, const char *, int);
+void make_diversion (int);
+void insert_diversion (int);
+void insert_file (FILE *);
+void freeze_diversions (FILE *);
/* File symtab.c --- symbol table definitions. */
@@ -355,15 +352,15 @@
extern symbol **symtab;
-void free_symbol _((symbol *sym));
-void symtab_init _((void));
-symbol *lookup_symbol _((const char *, symbol_lookup));
-void hack_all_symbols _((hack_symbol *, const char *));
+void free_symbol (symbol *sym);
+void symtab_init (void);
+symbol *lookup_symbol (const char *, symbol_lookup);
+void hack_all_symbols (hack_symbol *, const char *);
/* File: macro.c --- macro expansion. */
-void expand_input _((void));
-void call_macro _((symbol *, int, token_data **, struct obstack *));
+void expand_input (void);
+void call_macro (symbol *, int, token_data **, struct obstack *);
/* File: builtin.c --- builtins. */
@@ -386,22 +383,22 @@
typedef struct builtin builtin;
typedef struct predefined predefined;
-void builtin_init _((void));
-void define_builtin _((const char *, const builtin *, symbol_lookup));
-void define_user_macro _((const char *, const char *, symbol_lookup));
-void undivert_all _((void));
-void expand_user_macro _((struct obstack *, symbol *, int, token_data **));
-void m4_placeholder _((struct obstack *, int, token_data **));
+void builtin_init (void);
+void define_builtin (const char *, const builtin *, symbol_lookup);
+void define_user_macro (const char *, const char *, symbol_lookup);
+void undivert_all (void);
+void expand_user_macro (struct obstack *, symbol *, int, token_data **);
+void m4_placeholder (struct obstack *, int, token_data **);
-const builtin *find_builtin_by_addr _((builtin_func *));
-const builtin *find_builtin_by_name _((const char *));
+const builtin *find_builtin_by_addr (builtin_func *);
+const builtin *find_builtin_by_name (const char *);
/* File: path.c --- path search for include files. */
-void include_init _((void));
-void include_env_init _((void));
-void add_include_directory _((const char *));
-FILE *path_search _((const char *));
+void include_init (void);
+void include_env_init (void);
+void add_include_directory (const char *);
+FILE *path_search (const char *);
/* File: eval.c --- expression evaluation. */
@@ -409,16 +406,16 @@
typedef int eval_t;
typedef unsigned int unsigned_eval_t;
-boolean evaluate _((const char *, eval_t *));
+boolean evaluate (const char *, eval_t *);
/* File: format.c --- printf like formatting. */
-void format _((struct obstack *, int, token_data **));
+void format (struct obstack *, int, token_data **);
/* File: freeze.c --- frozen state files. */
-void produce_frozen_state _((const char *));
-void reload_frozen_state _((const char *));
+void produce_frozen_state (const char *);
+void reload_frozen_state (const char *);
/* Debugging the memory allocator. */
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/06
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/07
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/11
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/19
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/21
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/24
- Changes to m4/src/m4.h,v [branch-1_4],
Eric Blake <=
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/28
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/29
- Changes to m4/src/m4.h,v [branch-1_4], Eric Blake, 2006/07/30