From d7a1c8986331dc934af319249d32dfc8a0b024be Mon Sep 17 00:00:00 2001 From: Fred Wright Date: Thu, 21 Mar 2019 17:10:24 -0700 Subject: os_compat: Fix some comments. --- os_compat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'os_compat.c') diff --git a/os_compat.c b/os_compat.c index 28d2ae9d..b6531872 100644 --- a/os_compat.c +++ b/os_compat.c @@ -128,7 +128,7 @@ int os_daemon(int nochdir, int noclose) /* End of daemon section */ -/* Provide BSD strlcat()/strlcpy() on platforms that don't have it */ +/* Provide syslog() on platforms that don't have it */ #ifndef HAVE_SYSLOG_H #include "compiler.h" @@ -160,7 +160,11 @@ void closelog (void) } #endif /* !HAVE_SYSLOG_H */ +/* End of syslog section */ + /* + * Provide BSD strlcat()/strlcpy() on platforms that don't have it + * * These versions use memcpy and strlen() because they are often * heavily optimized down to assembler level. Thus, likely to be * faster even with the function call overhead. -- cgit v1.2.1