aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-12-17 11:09:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-12-17 11:09:31 +0200
commitf285f960bdfb5acb50a8ec7ed4b98f17d0bd624a (patch)
tree4832733b3efc81198c36e893e440ddc41a1b4604 /debug.c
parentb1cfda80b2c341e8b8d26f1b693c6c2603c90741 (diff)
downloadegawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.tar.gz
egawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.tar.bz2
egawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.zip
Make a number of variables and functions be static.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index cf0946e2..e7dd7060 100644
--- a/debug.c
+++ b/debug.c
@@ -64,7 +64,7 @@ int input_fd;
static SRCFILE *cur_srcfile;
static long cur_frame = 0;
static INSTRUCTION *cur_pc;
-int cur_rule = 0;
+static int cur_rule = 0;
static bool prog_running = false;
@@ -3303,7 +3303,7 @@ do_return(CMDARG *arg, int cmd)
/* check_until --- process until, returns true if stopping */
-int
+static int
check_until(INSTRUCTION **pi)
{
if (fcall_count < stop.fcall_count) { /* current stack frame returned */