diff options
author | Marc-André Lureau | 2018-11-10 14:45:42 +0100 |
---|---|---|
committer | Samuel Thibault | 2019-01-14 00:40:54 +0100 |
commit | 634d03487b3018b03f3fc45bf1af001ceb8dd603 (patch) | |
tree | 712fad840819f3bb211cc484854b8f9d025a10bd /slirp | |
parent | slirp: rename /extra/chardev (diff) | |
download | qemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.tar.gz qemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.tar.xz qemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.zip |
slirp: move internal function declarations
Clarify that those functions are internal to slirp.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/libslirp.h | 3 | ||||
-rw-r--r-- | slirp/slirp.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h index 3e88dbaa01..a4f390ee89 100644 --- a/slirp/libslirp.h +++ b/slirp/libslirp.h @@ -7,9 +7,6 @@ typedef struct Slirp Slirp; typedef void (*slirp_output)(void *opaque, const uint8_t *pkt, int pkt_len); -int get_dns_addr(struct in_addr *pdns_addr); -int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id); - Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork, struct in_addr vnetmask, struct in_addr vhost, bool in6_enabled, diff --git a/slirp/slirp.h b/slirp/slirp.h index e3d65d68ec..de299aa36c 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -232,6 +232,9 @@ extern Slirp *slirp_instance; void if_start(Slirp *); +int get_dns_addr(struct in_addr *pdns_addr); +int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id); + /* ncsi.c */ void ncsi_input(Slirp *slirp, const uint8_t *pkt, int pkt_len); |