aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--main.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ff1f213a..f0b97850 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-08-18 Arnold D. Robbins <arnold@skeeve.com>
+
+ * main.c (main): Change have_srcfile from int to bool.
+
2021-08-15 Arnold D. Robbins <arnold@skeeve.com>
Allow setting AR and ARFLAGS on the configure command line.
diff --git a/main.c b/main.c
index 19c50b6d..a93ad8b4 100644
--- a/main.c
+++ b/main.c
@@ -220,7 +220,7 @@ main(int argc, char **argv)
{
int i;
char *extra_stack;
- int have_srcfile = 0;
+ bool have_srcfile = false;
SRCFILE *s;
char *cp;
#if defined(LOCALEDEBUG)
@@ -443,7 +443,7 @@ main(int argc, char **argv)
if (s->stype == SRC_EXTLIB)
load_ext(s->fullpath);
else if (s->stype != SRC_INC)
- have_srcfile++;
+ have_srcfile = true;
}
/* do version check after extensions are loaded to get extension info */