diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2020-03-03 18:05:11 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2020-03-03 18:05:11 +0000 |
commit | 8ad798ae9a8a5bcb8ac284215d04811327955746 (patch) | |
tree | ba4904492af233e9081d1603fc299b42d8f062c5 /sys/net/if.c | |
parent | 91b685872c27bf6244b58e2551a91b3a6c4235e3 (diff) | |
download | src-8ad798ae9a8a5bcb8ac284215d04811327955746.tar.gz src-8ad798ae9a8a5bcb8ac284215d04811327955746.zip |
Expose ifr_buffer_get_(buffer|length) outside if.c.
This is a preparatory commit for D23933.
Reviewed by: jhb
Notes
Notes:
svn path=/head/; revision=358592
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index a69f1b7f438f..2a80a0bc46e6 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -2414,7 +2414,7 @@ ifunit(const char *name) return (ifp); } -static void * +void * ifr_buffer_get_buffer(void *data) { union ifreq_union *ifrup; @@ -2442,7 +2442,7 @@ ifr_buffer_set_buffer_null(void *data) ifrup->ifr.ifr_ifru.ifru_buffer.buffer = NULL; } -static size_t +size_t ifr_buffer_get_length(void *data) { union ifreq_union *ifrup; |