diff options
author | bryanv <bryanv@FreeBSD.org> | 2015-06-13 19:36:32 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2015-06-13 19:36:32 +0000 |
commit | 9299c6512883c5b5bb8bbf52e127a19f5b24682a (patch) | |
tree | 8feebd3fecf9bade8e9b39545fbb7e083f967b91 /sbin/ifconfig | |
parent | 259594230e1f13fe3651bdd9d719a68d869daf54 (diff) | |
download | FreeBSD-src-9299c6512883c5b5bb8bbf52e127a19f5b24682a.zip FreeBSD-src-9299c6512883c5b5bb8bbf52e127a19f5b24682a.tar.gz |
MFC r271603:
Add DEF_CLONE_CMD_ARG2
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index ea21db5..95d423a 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -74,6 +74,7 @@ void callback_register(callback_func *, void *); #define DEF_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 0, NULL } #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL } +#define DEF_CLONE_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 1, NULL } struct ifaddrs; struct addrinfo; |