include/syslog.h: Sprinkle sysloglike

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 11:34:10 +09:00 committed by Xiang Xiao
parent 7b39e612db
commit ed1a2584f0
1 changed files with 3 additions and 2 deletions

View File

@ -198,8 +198,9 @@ void closelog(void);
*
****************************************************************************/
void syslog(int priority, FAR const IPTR char *fmt, ...);
void vsyslog(int priority, FAR const IPTR char *fmt, va_list ap);
void syslog(int priority, FAR const IPTR char *fmt, ...) sysloglike(2, 3);
void vsyslog(int priority, FAR const IPTR char *fmt, va_list ap)
sysloglike(2, 0);
/****************************************************************************
* Name: setlogmask