git: 7541a95a5451 - main - ifconfig: some style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 May 2022 20:59:48 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7541a95a545157b6123a9d1bd2724ab263a85f7f commit 7541a95a545157b6123a9d1bd2724ab263a85f7f Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-12-20 06:01:18 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-05-24 20:59:32 +0000 ifconfig: some style wrap several too long lines Reviewed by: hselasky, jhb, kp Sponsored by: NVIDIA Networking MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D32551 --- sbin/ifconfig/ifconfig.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index 2c0b8a100b0d..8f4e494fdde0 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -46,7 +46,8 @@ struct afswtch; struct cmd; typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); -typedef void c_func2(const char *arg1, const char *arg2, int s, const struct afswtch *afp); +typedef void c_func2(const char *arg1, const char *arg2, int s, + const struct afswtch *afp); struct cmd { const char *c_name; @@ -72,7 +73,8 @@ void callback_register(callback_func *, void *); #define DECL_CMD_FUNC(name, cmd, arg) \ void name(const char *cmd, int arg, int s, const struct afswtch *afp) #define DECL_CMD_FUNC2(name, arg1, arg2) \ - void name(const char *arg1, const char *arg2, int s, const struct afswtch *afp) + void name(const char *arg1, const char *arg2, int s, \ + const struct afswtch *afp) #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL }