X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..5ba3f43ea354af8ad55bea84372a2bc834d8757c:/bsd/sys/syslog.h

diff --git a/bsd/sys/syslog.h b/bsd/sys/syslog.h
index 71f546ae5..42ff28cc6 100644
--- a/bsd/sys/syslog.h
+++ b/bsd/sys/syslog.h
@@ -229,9 +229,13 @@ __BEGIN_DECLS
 void	closelog(void);
 void	openlog(const char *, int, int);
 int	setlogmask(int);
-void	syslog(int, const char *, ...) __printflike(2, 3);
+#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __DARWIN_C_LEVEL >= __DARWIN_C_FULL
+void	syslog(int, const char *, ...) __printflike(2, 3) __not_tail_called __DARWIN_ALIAS_STARTING(__MAC_10_13, __IPHONE_NA, __DARWIN_EXTSN(syslog));
+#else
+void	syslog(int, const char *, ...) __printflike(2, 3) __not_tail_called;
+#endif
 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
-void	vsyslog(int, const char *, __darwin_va_list) __printflike(2, 0);
+void	vsyslog(int, const char *, __darwin_va_list) __printflike(2, 0) __not_tail_called;
 #endif
 __END_DECLS
 
@@ -323,7 +327,7 @@ __BEGIN_DECLS
 void	log(int, const char *, ...);
 #ifdef XNU_KERNEL_PRIVATE
 void	logpri(int);
-int	vaddlog(const char *, va_list);
+int	vaddlog(const char *, va_list) __printflike(1,0);
 void	logtime(time_t);
 #endif /* XNU_KERNEL_PRIVATE */