summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-30 09:07:01 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-30 09:07:01 +0000
commit91f19920f361f1d81ba1b17381decf1fd58dd9a9 (patch)
tree15a5a67595131fee71df3697830247948600d1ae /bin/ksh/sh.h
parent2c0ae468211f08c5cf2673f6d7430d8ab8c4e3d6 (diff)
rename global "e" to genv to avoid accidental shadowing and aliasing.
ok millert nicm tb
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r--bin/ksh/sh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index 5f35c183c38..298fc4454a4 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.55 2015/12/14 13:59:42 tb Exp $ */
+/* $OpenBSD: sh.h,v 1.56 2015/12/30 09:07:00 tedu Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -53,7 +53,7 @@ typedef struct Area {
extern Area aperm; /* permanent object space */
#define APERM &aperm
-#define ATEMP &e->area
+#define ATEMP &genv->area
#ifdef KSH_DEBUG
# define kshdebug_init() kshdebug_init_()
@@ -78,7 +78,7 @@ struct env {
sigjmp_buf jbuf; /* long jump back to env creator */
struct temp *temps; /* temp files */
};
-extern struct env *e;
+extern struct env *genv;
/* struct env.type values */
#define E_NONE 0 /* dummy environment */