Displaying 1 result from an estimated 1 matches for "voptind".
Did you mean:
optind
2012 Jul 02
0
[klibc:master] [SHELL] Allow building without LINEO support
...return strchrnul(v->text, '=') + 1;
}
return NULL;
diff --git a/usr/dash/var.h b/usr/dash/var.h
index 4c02eb2..1a06a3c 100644
--- a/usr/dash/var.h
+++ b/usr/dash/var.h
@@ -88,9 +88,15 @@ extern struct var varinit[];
#define vps2 (&vps1)[1]
#define vps4 (&vps2)[1]
#define voptind (&vps4)[1]
+#ifdef WITH_LINENO
#define vlineno (&voptind)[1]
+#endif
#ifndef SMALL
+#ifdef WITH_LINENO
#define vterm (&vlineno)[1]
+#else
+#define vterm (&voptind)[1]
+#endif
#define vhistsize (&vterm)[1]
#endif