diff options
author | Qball Cow <qball@gmpclient.org> | 2014-03-11 20:16:44 +0100 |
---|---|---|
committer | Qball Cow <qball@gmpclient.org> | 2014-03-11 20:16:44 +0100 |
commit | c268c10f8b8853249b4754738e5d5e36e5cf205a (patch) | |
tree | 61517ba91d6cd3909a79207b9d4bd56eba46e382 /include | |
parent | 5d706dc0dd3230a8d6d0d7af17634b3643de54ad (diff) |
Fix warning from clang --analyze
Diffstat (limited to 'include')
-rw-r--r-- | include/simpleswitcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/simpleswitcher.h b/include/simpleswitcher.h index 1947804b..74d4fe7d 100644 --- a/include/simpleswitcher.h +++ b/include/simpleswitcher.h @@ -47,7 +47,7 @@ MenuReturn menu( char **lines, char **input, char *prompt, /** * Allocator wrappers */ -void* allocate( unsigned long bytes ); +void* allocate( unsigned long bytes ) __attribute__((malloc)); void* allocate_clear( unsigned long bytes ); void* reallocate( void *ptr, unsigned long bytes ); |