[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-303
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3038-g8784809 |
Date: |
Fri, 14 Sep 2018 06:17:16 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.2-stable has been updated
via 87848093635e0d4e647601fe788e024ee90e1be6 (commit)
from 81f53c08b12ba4150e02a2dcb647d8176570fca1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=87848093635e0d4e647601fe788e024ee90e1be6
commit 87848093635e0d4e647601fe788e024ee90e1be6
Author: Arnold D. Robbins <address@hidden>
Date: Fri Sep 14 13:16:53 2018 +0300
Move some prototypes to awk.h from main.c.
diff --git a/ChangeLog b/ChangeLog
index 2856365..02dcbb3 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-09-14 Adrian Bunk <address@hidden>
+
+ * awk.h (init_debug, debug_prog): Move prototypes to here from ...
+ * main.c: ... here.
+ Thanks to Michael Tautschnig for noticing the type mismatch.
+
2018-09-07 Arnold D. Robbins <address@hidden>
* awkgram.y, debug.c, ext.c, gawkapi.c, gawkapi.h,
diff --git a/awk.h b/awk.h
index 75d9217..1051036 100644
--- a/awk.h
+++ b/awk.h
@@ -1464,6 +1464,9 @@ extern NODE *do_typeof(int nargs);
extern int strncasecmpmbs(const unsigned char *,
const unsigned char *, size_t);
extern int sanitize_exit_status(int status);
+/* debug.c */
+extern void init_debug(void);
+extern int debug_prog(INSTRUCTION *pc);
/* eval.c */
extern void PUSH_CODE(INSTRUCTION *cp);
extern INSTRUCTION *POP_CODE(void);
diff --git a/main.c b/main.c
index 4e94bdd..9d2b329 100644
--- a/main.c
+++ b/main.c
@@ -69,9 +69,6 @@ static void init_fds(void);
static void init_groupset(void);
static void save_argv(int, char **);
-extern int debug_prog(INSTRUCTION *pc); /* debug.c */
-extern int init_debug(); /* debug.c */
-
/* These nodes store all the special variables AWK uses */
NODE *ARGC_node, *ARGIND_node, *ARGV_node, *BINMODE_node, *CONVFMT_node;
NODE *ENVIRON_node, *ERRNO_node, *FIELDWIDTHS_node, *FILENAME_node;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
awk.h | 3 +++
main.c | 3 ---
3 files changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3038-g8784809,
Arnold Robbins <=