summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-09-17 05:06:16 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-09-17 05:06:16 -0400
commitb38817b67805e15b7ab8cbcd608219cf3e481b0e (patch)
tree6d95c86ddf00aec1f5fd93123742198fceb29cfd /src/buffer.h
parentdc2d82811c0505420320fc1e858cbd6cf50930fc (diff)
downloadlighttpd-git-b38817b67805e15b7ab8cbcd608219cf3e481b0e.tar.gz
[core] mark attr malloc, returns nonnull
mark some core code with attributes malloc, returns nonnull
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 9380ec80..facabb89 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -29,6 +29,7 @@ typedef struct {
} buffer;
/* create new buffer; either empty or copy given data */
+__attribute_malloc__
__attribute_returns_nonnull__
buffer* buffer_init(void);