commit a0b5dd0044200f84234b7e7243be9bfb72c3f4c7
parent ade7b953a30ece73625e97a4bd0ad76e5ca3ed3a
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Wed, 17 Jun 2020 18:09:33 +0200
move extern declaration of hier() to hier.h
Diffstat:
4 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/hier.h b/hier.h
@@ -8,5 +8,6 @@ extern void d(char *home, char *subdir, uid_t uid, gid_t gid, int mode);
extern void p(char *home, char *fifo, uid_t uid, gid_t gid, int mode);
extern void c(char *home, char *subdir, char *file, uid_t uid, gid_t gid, int mode);
extern void z(char *home, char *file, int len, uid_t uid, gid_t gid, int mode);
+extern void hier(void);
#endif
diff --git a/instcheck.c b/instcheck.c
@@ -7,7 +7,6 @@
#include "hier.h"
extern void init_uidgid();
-extern void hier();
#define FATAL "instcheck: fatal: "
#define WARNING "instcheck: warning: "
diff --git a/instchown.c b/instchown.c
@@ -7,7 +7,6 @@
#include "hier.h"
extern void init_uidgid();
-extern void hier();
#define FATAL "instchown: fatal: "
diff --git a/instpackage.c b/instpackage.c
@@ -13,7 +13,6 @@
#include "str.h"
#include "stralloc.h"
-extern void hier();
#define FATAL "instpackage: fatal: "