You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/06 15:03:21 UTC
[incubator-nuttx] 02/18: include/syslog.h: Sprinkle sysloglike
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit ed1a2584f017c61e2f61fcbb02a5f53e64dd6c80
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Nov 20 11:34:10 2020 +0900
include/syslog.h: Sprinkle sysloglike
---
include/syslog.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/syslog.h b/include/syslog.h
index 4c6b57f..9c6d879 100644
--- a/include/syslog.h
+++ b/include/syslog.h
@@ -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