(svn r7836) -Codechange: some constness for network/core.

This commit is contained in:
rubidium
2007-01-04 21:48:52 +00:00
parent b2f85eb044
commit 73079f83bc
8 changed files with 18 additions and 18 deletions

View File

@@ -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