mirror of
https://github.com/rfivet/uemacs.git
synced 2025-06-07 08:03:41 -04:00
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>
This commit is contained in:
parent
1cf0fc1609
commit
e1b2f459e2
5
eval.c
5
eval.c
@ -16,6 +16,11 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
|
#define MAXVARS 255
|
||||||
|
|
||||||
|
/* User variables */
|
||||||
|
static struct user_variable uv[MAXVARS + 1];
|
||||||
|
|
||||||
/* Initialize the user variable list. */
|
/* Initialize the user variable list. */
|
||||||
void varinit(void)
|
void varinit(void)
|
||||||
{
|
{
|
||||||
|
5
evar.h
5
evar.h
@ -17,11 +17,6 @@ struct user_variable {
|
|||||||
char *u_value; /* value (string) */
|
char *u_value; /* value (string) */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAXVARS 255
|
|
||||||
|
|
||||||
/* User variables */
|
|
||||||
static struct user_variable uv[MAXVARS + 1];
|
|
||||||
|
|
||||||
/* List of recognized environment variables. */
|
/* List of recognized environment variables. */
|
||||||
|
|
||||||
static char *envars[] = {
|
static char *envars[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user