* commit 'ef49e99d92597a4e9fddbba0e1e3feddc06fee53': syslog.h: add __printflike to syslog functions
This commit is contained in:
commit
4fa5d6a5db
@ -103,13 +103,13 @@ struct syslog_data {
|
||||
extern void closelog(void);
|
||||
extern void openlog(const char *, int, int);
|
||||
extern int setlogmask(int);
|
||||
extern void syslog(int, const char *, ...);
|
||||
extern void vsyslog(int, const char *, va_list);
|
||||
extern void syslog(int, const char *, ...) __printflike(2, 3);
|
||||
extern void vsyslog(int, const char *, va_list) __printflike(2, 0);
|
||||
extern void closelog_r(struct syslog_data *);
|
||||
extern void openlog_r(const char *, int, int, struct syslog_data *);
|
||||
extern int setlogmask_r(int, struct syslog_data *);
|
||||
extern void syslog_r(int, struct syslog_data *, const char *, ...);
|
||||
extern void vsyslog_r(int, struct syslog_data *, const char *, va_list);
|
||||
extern void syslog_r(int, struct syslog_data *, const char *, ...) __printflike(3, 4);
|
||||
extern void vsyslog_r(int, struct syslog_data *, const char *, va_list) __printflike(3, 0);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user