diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 17:11:42 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 17:11:42 +0000 |
commit | a48d505695367905155ab463993ccdae41250ae7 (patch) | |
tree | fc45613e2ed78257489f7a1679f004d979201e27 /libslirp.h | |
parent | efa0f8b2352e980e3c1b2d90e1d130ccd7257c69 (diff) | |
download | slirp-a48d505695367905155ab463993ccdae41250ae7.zip slirp-a48d505695367905155ab463993ccdae41250ae7.tar.gz slirp-a48d505695367905155ab463993ccdae41250ae7.tar.bz2 |
64 bit fixes (initial patch by Gwenole Beauchesne)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1458 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'libslirp.h')
-rw-r--r-- | libslirp.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -9,6 +9,10 @@ int inet_aton(const char *cp, struct in_addr *ia); #include <arpa/inet.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + void slirp_init(void); void slirp_select_fill(int *pnfds, fd_set *readfds, fd_set *writefds, @@ -29,4 +33,8 @@ int slirp_add_exec(int do_pty, const char *args, int addr_low_byte, extern const char *tftp_prefix; +#ifdef __cplusplus +} +#endif + #endif |