commit 4d9143831d8100617b8423a1deb342229f0bffbe
parent 8e2f1b03fdd61685d2c0f09e9392542c558a8bff
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Wed, 17 Jun 2020 17:44:12 +0200
use C89 declarations in hier.h
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/hier.h b/hier.h
@@ -1,10 +1,12 @@
#ifndef HIER_H
#define HIER_H
-extern void h();
-extern void d();
-extern void p();
-extern void c();
-extern void z();
+#include <sys/types.h>
+
+extern void h(char *home, uid_t uid, gid_t gid, int mode);
+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);
#endif