chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ba3a8
)
common.h: Add some more decls (useful for prefork-interp)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 17 Jul 2022 17:23:20 +0000
(18:23 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Aug 2022 20:21:10 +0000
(21:21 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cprogs/common.h
patch
|
blob
|
history
diff --git
a/cprogs/common.h
b/cprogs/common.h
index 680683d71de6b83130d877c1e0ad2e394cd0ca2d..67eb4f6b0a5089244528408e61467a56cdcc719e 100644
(file)
--- a/
cprogs/common.h
+++ b/
cprogs/common.h
@@
-28,6
+28,7
@@
#define _GNU_SOURCE
+#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@
-43,4
+44,6
@@
void *xmalloc(size_t sz);
#define FILLZERO(object) (memset((&object),0,sizeof(object)))
+extern char **environ; // no header file for this, srsly!
+
#endif /*COMMON_H*/