chiark / gitweb /
prefork: Make socket finding etc. stuff static
[chiark-utils.git] / cprogs / prefork.c
index 095dd44e89d2778c5241568e1cd5bfff0f565cc8..437923f88c3dbeb2ae0e49f4552eaf0e57015adc 100644 (file)
@@ -2,14 +2,13 @@
 
 #include "prefork.h"
 
-const char *interp, *ident;
-
+const char *interp, *ident, *script, *socket_path, *lock_path;
+bool logging;
 struct sha256_ctx identsc;
 
-uid_t us;
-const char *run_base, *script, *socket_path, *lock_path;
-const char *run_base_mkdir_p;
-bool logging;
+static uid_t us;
+static const char *run_base;
+static const char *run_base_mkdir_p;
 
 void common_diee(const char *m) { diee("%s", m); }
 void common_die (const char *m) { die ("%s", m); }