diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2021-01-28 17:25:50 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2021-01-28 17:25:53 +0000 |
commit | 9a0a48b12d3d85f0f00b99439e6a8779f5f1abb6 (patch) | |
tree | 3abd662fb7832b33da1a828e9af3c76f66e343ad /usr.sbin/pkg | |
parent | 869cc06480b75b4caea0d049e0cf7f82bb5aeed1 (diff) | |
download | src-9a0a48b12d3d85f0f00b99439e6a8779f5f1abb6.tar.gz src-9a0a48b12d3d85f0f00b99439e6a8779f5f1abb6.zip |
usr.sbin/pkg: Don't re-define roundup2
The file already includes sys/param.h and should use that definition.
I found this while testing D28332.
Reviewed By: bapt
Differential Revision: https://reviews.freebsd.org/D28331
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r-- | usr.sbin/pkg/config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c index aaa9010b295d..7402112a967e 100644 --- a/usr.sbin/pkg/config.c +++ b/usr.sbin/pkg/config.c @@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$"); #include "config.h" -#define roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ - struct config_value { char *value; STAILQ_ENTRY(config_value) next; |