diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-08-25 15:24:39 +0200 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2015-08-25 19:15:50 +0300 |
commit | fd36647af1f0337add3031c1a7f95354a4bb2828 (patch) | |
tree | 609a837ddb205c59d785bfdfc9d208332582ee08 /http-internal.h | |
parent | 193c7de505039750f973cd2a73c57677e884de9e (diff) | |
download | libevent-fd36647af1f0337add3031c1a7f95354a4bb2828.tar.gz |
Don't use BSD u_* types.
These types are not part of POSIX. As we only use them in a small number
of places, we'd better replace them by C standard types. This makes a
larger part of the code build for CloudABI.
Diffstat (limited to 'http-internal.h')
-rw-r--r-- | http-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-internal.h b/http-internal.h index 6e1b2147..90fd7928 100644 --- a/http-internal.h +++ b/http-internal.h @@ -62,10 +62,10 @@ struct evhttp_connection { struct event retry_ev; /* for retrying connects */ char *bind_address; /* address to use for binding the src */ - u_short bind_port; /* local port for binding the src */ + unsigned short bind_port; /* local port for binding the src */ char *address; /* address to connect to */ - u_short port; + unsigned short port; size_t max_headers_size; ev_uint64_t max_body_size; |