summaryrefslogtreecommitdiff
path: root/builtins/setattr.def
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2018-05-22 16:51:07 -0400
committerChet Ramey <chet.ramey@case.edu>2018-05-22 16:51:07 -0400
commit9a51695bed07d37086c352372ac69d0a30039a6b (patch)
tree4d0f57cba0dd1ec7a75aae56e18cfe9997d0b7a7 /builtins/setattr.def
parent7de27456f6494f5f9c11ea1c19024d0024f31112 (diff)
downloadbash-9a51695bed07d37086c352372ac69d0a30039a6b.tar.gz
bash-5.0-alpha releasebash-5.0-alpha
Diffstat (limited to 'builtins/setattr.def')
-rw-r--r--builtins/setattr.def6
1 files changed, 2 insertions, 4 deletions
diff --git a/builtins/setattr.def b/builtins/setattr.def
index 8f29e11e..916515f8 100644
--- a/builtins/setattr.def
+++ b/builtins/setattr.def
@@ -34,13 +34,11 @@ $PRODUCES setattr.c
#include "../bashintl.h"
#include "../shell.h"
+#include "../execute_cmd.h"
#include "../flags.h"
#include "common.h"
#include "bashgetopt.h"
-extern int posixly_correct;
-extern int array_needs_making;
-extern char *this_command_name;
extern sh_builtin_func_t *this_shell_builtin;
#ifdef ARRAY_VARS
@@ -539,7 +537,7 @@ set_var_attribute (name, attribute, undo)
int attribute, undo;
{
SHELL_VAR *var, *tv, *v, *refvar;
- char *tvalue, *refname;
+ char *tvalue;
if (undo)
var = find_variable (name);