summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Utils/strbuf.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Utils/strbuf.h b/lib/Utils/strbuf.h
index d0c9c981..8b43424a 100644
--- a/lib/Utils/strbuf.h
+++ b/lib/Utils/strbuf.h
@@ -24,10 +24,13 @@
extern "C" {
#endif
-struct strbuf {
- int alloc;
- int len;
- char *buf;
+struct strbuf
+{
+ /* Size of the allocated buffer. */
+ int alloc;
+ /* Length of the message. */
+ int len;
+ char *buf;
};
extern struct strbuf *strbuf_new();