commit e5f3b4665e56aa1d9167393bd46dec65e3a88d51
parent d816dcf2bd9d4b62364564dc1d6fd5457ce3c89e
Author: Jacob R. Edwards <n/a>
Date: Fri, 5 Nov 2021 13:58:04 -0700
Fix location of SHIFT definition
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/module.c b/lib/module.c
@@ -1,4 +1,3 @@
-#define SHIFT(N) { argc -= N; argv += N; }
#define const
#include <sys/stat.h>
@@ -17,6 +16,8 @@
#include <string.h>
#include <unistd.h>
+#define SHIFT(N) { argc -= N; argv += N; }
+
static int argtoo; /* Install given directories too, not just their contents. */
static int force; /* Install even if the target exists. */
static int (*action)(char *, char *); /* Install function (link, copy, or none). */