diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-17 05:06:16 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-17 05:06:16 -0400 |
commit | b38817b67805e15b7ab8cbcd608219cf3e481b0e (patch) | |
tree | 6d95c86ddf00aec1f5fd93123742198fceb29cfd /src/buffer.h | |
parent | dc2d82811c0505420320fc1e858cbd6cf50930fc (diff) | |
download | lighttpd-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.h | 1 |
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); |