mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
> ../os/xprintf.c: In function ‘XNFvasprintf’: > ../os/xprintf.c:84:5: warning: function ‘XNFvasprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] > 84 | int size = vasprintf(ret, format, va); > | ^~~ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
21 lines
468 B
C
21 lines
468 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*/
|
|
#ifndef _XSERVER_OS_AUDIT_H
|
|
#define _XSERVER_OS_AUDIT_H
|
|
|
|
#include <stdarg.h>
|
|
#include <X11/Xfuncproto.h>
|
|
|
|
#include "include/os.h"
|
|
|
|
extern int auditTrailLevel;
|
|
|
|
void FreeAuditTimer(void);
|
|
|
|
void AuditF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1, 2);
|
|
void VAuditF(const char *f, va_list args) _X_ATTRIBUTE_VPRINTF(1, 0);
|
|
|
|
#endif /* _XSERVER_OS_AUDIT_H */
|