From e3c9a7dd70976157cd7141ac8b25aa71f1eb6842 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Tue, 25 May 2010 20:55:05 +0800 Subject: [VAR] Move unsetvar functionality into setvareq This patch moves the unsetvar code into setvareq so that we can no have a pathological case of an unset variable hanging around unless it has a bit pinning it like VEXPORT. Signed-off-by: Herbert Xu --- src/var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/var.h') diff --git a/src/var.h b/src/var.h index 32b0dde..2bb82b1 100644 --- a/src/var.h +++ b/src/var.h @@ -142,7 +142,7 @@ int localcmd(int, char **); void pushlocalvars(void); void poplocalvars(void); int unsetcmd(int, char **); -int unsetvar(const char *); +void unsetvar(const char *); int varcmp(const char *, const char *); static inline int varequal(const char *a, const char *b) { -- cgit 1.4.1