diff options
author | rubidium <rubidium@openttd.org> | 2007-01-04 21:48:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-04 21:48:52 +0000 |
commit | 73079f83bc99d17571e547cfcc7c2c9c6ff31217 (patch) | |
tree | 14ee5feed2ea48a5d6f3bc1965768ced6fa0dd4d /src/network/core/os_abstraction.h | |
parent | b2f85eb044df4ea47ce53115f11a113d2914df24 (diff) | |
download | openttd-73079f83bc99d17571e547cfcc7c2c9c6ff31217.tar.xz |
(svn r7836) -Codechange: some constness for network/core.
Diffstat (limited to 'src/network/core/os_abstraction.h')
-rw-r--r-- | src/network/core/os_abstraction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index 792c42658..df3cf65b3 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -150,7 +150,7 @@ typedef unsigned long in_addr_t; # endif #endif // __MORPHOS__ || __AMIGA__ -static inline bool SetNonBlocking(int d) +static inline bool SetNonBlocking(const int d) { #ifdef WIN32 u_long nonblocking = 1; @@ -164,7 +164,7 @@ static inline bool SetNonBlocking(int d) #endif } -static inline bool SetNoDelay(int d) +static inline bool SetNoDelay(const int d) { /* XXX should this be done at all? */ #if !defined(BEOS_NET_SERVER) // not implemented on BeOS net_server |