diff options
| author | 2005-03-28 22:41:51 +0000 | |
|---|---|---|
| committer | 2005-03-28 22:41:51 +0000 | |
| commit | f6e3a94f5b0c36995043f43c9c07364fcdaddc38 (patch) | |
| tree | 9b6472a809e80c0334466671cd17828033e0d430 | |
| parent | alignment (diff) | |
| download | wireguard-openbsd-f6e3a94f5b0c36995043f43c9c07364fcdaddc38.tar.xz wireguard-openbsd-f6e3a94f5b0c36995043f43c9c07364fcdaddc38.zip | |
- More KNF
- Forgot an $OpenBSD$
no binary changes.
| -rw-r--r-- | usr.sbin/httpd/src/os/unix/os-inline.c | 4 | ||||
| -rw-r--r-- | usr.sbin/httpd/src/os/unix/os.c | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/httpd/src/os/unix/os-inline.c b/usr.sbin/httpd/src/os/unix/os-inline.c index a7f1e0af81f..fbbbd3f0999 100644 --- a/usr.sbin/httpd/src/os/unix/os-inline.c +++ b/usr.sbin/httpd/src/os/unix/os-inline.c @@ -1,3 +1,5 @@ +/* $OpenBSD: os-inline.c,v 1.3 2005/03/28 22:41:51 niallo Exp $ */ + /* * This file contains functions which can be inlined if the compiler * has an "inline" modifier. Because of this, this file is both a @@ -28,5 +30,5 @@ INLINE int ap_os_is_path_absolute(const char *file) { - return file[0] == '/'; + return file[0] == '/'; } diff --git a/usr.sbin/httpd/src/os/unix/os.c b/usr.sbin/httpd/src/os/unix/os.c index 31952cc637f..bb8dc1cd4e3 100644 --- a/usr.sbin/httpd/src/os/unix/os.c +++ b/usr.sbin/httpd/src/os/unix/os.c @@ -1,4 +1,4 @@ -/* $OpenBSD: os.c,v 1.10 2005/03/28 14:01:14 niallo Exp $ */ +/* $OpenBSD: os.c,v 1.11 2005/03/28 22:41:51 niallo Exp $ */ /* * This file will include OS specific functions which are not inlineable. @@ -33,24 +33,24 @@ ap_os_dso_init(void) void *ap_os_dso_load(const char *path) { - return dlopen(path, RTLD_NOW | RTLD_GLOBAL); + return dlopen(path, RTLD_NOW | RTLD_GLOBAL); } void ap_os_dso_unload(void *handle) { - dlclose(handle); - return; + dlclose(handle); + return; } void *ap_os_dso_sym(void *handle, const char *symname) { - return dlsym(handle, symname); + return dlsym(handle, symname); } const char * ap_os_dso_error(void) { - return dlerror(); + return dlerror(); } |
