aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorMatt Whitlock <gentoo@mattwhitlock.name>2021-08-16 23:21:33 -0400
committerMike Frysinger <vapier@gentoo.org>2021-12-21 01:48:04 -0500
commit8ffc4162e267cf55a8fe789792fc3568fd82ecd7 (patch)
tree1d5f72c2e85999222d536c72302a8f0eb9be49e6 /src/includes
parent703bdbf88e60b98b1fcee8aa376932bbe75bae86 (diff)
code style: remove space after unary "not" operator
There are no semantic changes in this commit. Suggested-by: Mike Frysinger <vapier@gentoo.org> See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/helpers.h4
1 files changed, 2 insertions, 2 deletions
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);