chiark / gitweb /
util: declare __progname in util.h
[elogind.git] / util.h
diff --git a/util.h b/util.h
index a1e79d47b1d491060e7a420b6e4dd62e63cc9815..273ece89f1be7729a2963d12080805e682757018 100644 (file)
--- a/util.h
+++ b/util.h
@@ -177,6 +177,8 @@ int fd_cloexec(int fd, bool cloexec);
 
 int close_all_fds(const int except[], unsigned n_except);
 
+extern char * __progname;
+
 const char *ioprio_class_to_string(int i);
 int ioprio_class_from_string(const char *s);