From 8ffc4162e267cf55a8fe789792fc3568fd82ecd7 Mon Sep 17 00:00:00 2001 From: Matt Whitlock Date: Mon, 16 Aug 2021 23:21:33 -0400 Subject: code style: remove space after unary "not" operator There are no semantic changes in this commit. Suggested-by: Mike Frysinger See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394 --- src/includes/helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/includes') diff --git a/src/includes/helpers.h b/src/includes/helpers.h index 1a3e2cfe..44d76552 100644 --- a/src/includes/helpers.h +++ b/src/includes/helpers.h @@ -38,7 +38,7 @@ #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) #ifdef __GLIBC__ -# if ! defined (__UCLIBC__) && ! defined (__dietlibc__) +# if !defined (__UCLIBC__) && !defined (__dietlibc__) # define strlcpy(dst, src, size) snprintf(dst, size, "%s", src) # endif #endif @@ -85,7 +85,7 @@ _unused static char *xstrdup(const char *str) { char *value; - if (! str) + if (!str) return (NULL); value = strdup(str); -- cgit v1.2.3