Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions auparse/auparse.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#endif
#ifndef __attr_dealloc
# define __attr_dealloc(dealloc, argno)
#endif
#ifndef __attr_dealloc_free
# define __attr_dealloc_free
#endif
#ifndef __attribute_malloc__
Expand Down
3 changes: 3 additions & 0 deletions lib/audit_logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

// Next include is to pick up the function attribute macros
#include <features.h>
#include <sys/types.h>
#include <audit-records.h>

#ifdef __cplusplus
Expand All @@ -39,6 +40,8 @@ extern "C" {
#endif
#ifndef __attr_dealloc
# define __attr_dealloc(dealloc, argno)
#endif
#ifndef __attr_dealloc_free
# define __attr_dealloc_free
#endif
// Warn unused result
Expand Down
2 changes: 2 additions & 0 deletions lib/libaudit.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
// malloc and free assignments
#ifndef __attr_dealloc
# define __attr_dealloc(dealloc, argno)
#endif
#ifndef __attr_dealloc_free
# define __attr_dealloc_free
#endif
#ifndef __attribute_malloc__
Expand Down