From f77d12f8d8a822aae41b835c0cca050928c58221 Mon Sep 17 00:00:00 2001 From: Neven Sajko Date: Thu, 8 Aug 2019 21:24:58 +0000 Subject: cmd/rc: fix declarations of some externally linked variables Change-Id: If8fe1afecb9fe55f85e8e5af37521b83e787d718 --- src/cmd/rc/rc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cmd/rc/rc.h') diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h index 7778ff4c..46ff9510 100644 --- a/src/cmd/rc/rc.h +++ b/src/cmd/rc/rc.h @@ -71,7 +71,6 @@ union code{ char *s; }; char *promptstr; -int doprompt; #define NTOK 8192 char tok[NTOK]; #define APPEND 1 @@ -126,7 +125,7 @@ int mypid; char **argp; char **args; int nerror; /* number of errors encountered during compilation */ -int doprompt; /* is it time for a prompt? */ +extern int doprompt; /* is it time for a prompt? */ /* * Which fds are the reading/writing end of a pipe? * Unfortunately, this can vary from system to system. -- cgit v1.2.3