aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-11-23 20:41:25 -0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-24 08:26:55 +0900
commite1b2f459e22d4d704ecb0cfed19df02a43e803a4 (patch)
tree6d5ffc90ce44c694eb2e4a41ca556b0d7377eddd
parent1cf0fc1609a4a573b92aa4cca37fb3f8334cad47 (diff)
downloaduemacs-e1b2f459e22d4d704ecb0cfed19df02a43e803a4.tar.gz
uemacs: Move uv variable into the eval.c source file.
It's used only there. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--eval.c5
-rw-r--r--evar.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/eval.c b/eval.c
index 44e8a9b..ca96ca2 100644
--- a/eval.c
+++ b/eval.c
@@ -16,6 +16,11 @@
#include "util.h"
#include "version.h"
+#define MAXVARS 255
+
+/* User variables */
+static struct user_variable uv[MAXVARS + 1];
+
/* Initialize the user variable list. */
void varinit(void)
{
diff --git a/evar.h b/evar.h
index aff6eb9..6e7cb6b 100644
--- a/evar.h
+++ b/evar.h
@@ -17,11 +17,6 @@ struct user_variable {
char *u_value; /* value (string) */
};
-#define MAXVARS 255
-
-/* User variables */
-static struct user_variable uv[MAXVARS + 1];
-
/* List of recognized environment variables. */
static char *envars[] = {