summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index a8b0f584..3a82e7f3 100644
--- a/src/system.h
+++ b/src/system.h
@@ -202,7 +202,10 @@ typedef size_t uintptr_t;
} while (0)
+/* Append the ending 0, finish Obs, and return the string. */
+# define obstack_finish0(Obs) \
+ (obstack_1grow (Obs, '\0'), (char *) obstack_finish (Obs))
/*-----------------------------------------.