diff options
author | Fred Wright <fw@fwright.net> | 2019-03-21 17:10:24 -0700 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2019-03-21 20:04:46 -0700 |
commit | d7a1c8986331dc934af319249d32dfc8a0b024be (patch) | |
tree | c55b40cf39a11402b897892ce5bf805bdf22874d /os_compat.c | |
parent | 6c668bb9a4e8b29b18f0557774f2f68448f06ce1 (diff) | |
download | gpsd-d7a1c8986331dc934af319249d32dfc8a0b024be.tar.gz |
os_compat: Fix some comments.
Diffstat (limited to 'os_compat.c')
-rw-r--r-- | os_compat.c | 6 |
1 files changed, 5 insertions, 1 deletions
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. |