Commit 1ab224fc authored by Kai Vehmanen's avatar Kai Vehmanen

Non-static inlines in implementation files confuse VC6 with static builds.

darcs-hash:20061003132640-77cd4-217783b3562239dd55e6185dd97de81e2002b56f.gz
parent 666a1c3c
......@@ -646,7 +646,6 @@ struct sigcomp_udvm *msg_get_udvm(msg_t *msg)
*
* @relatesalso msg_s
*/
inline
unsigned msg_mark_as_complete(msg_t *msg, unsigned mask)
{
if (msg) {
......
......@@ -141,7 +141,7 @@ struct tport_pending_s {
};
/** Return true if transport is master. */
inline int tport_is_master(tport_t const *self)
int tport_is_master(tport_t const *self)
{
return
self &&
......@@ -149,7 +149,7 @@ inline int tport_is_master(tport_t const *self)
}
/** Return true if transport is primary. */
inline int tport_is_primary(tport_t const *self)
int tport_is_primary(tport_t const *self)
{
return
self &&
......@@ -157,7 +157,7 @@ inline int tport_is_primary(tport_t const *self)
}
/** Return true if transport is secondary. */
inline int tport_is_secondary(tport_t const *self)
int tport_is_secondary(tport_t const *self)
{
return
self &&
......@@ -166,31 +166,31 @@ inline int tport_is_secondary(tport_t const *self)
}
/** Test if transport has been registered */
inline int tport_is_registered(tport_t const *self)
int tport_is_registered(tport_t const *self)
{
return self->tp_index != 0;
}
/** Test if transport is stream. */
inline int tport_is_stream(tport_t const *self)
int tport_is_stream(tport_t const *self)
{
return self->tp_addrinfo->ai_socktype == SOCK_STREAM;
}
/** Test if transport is dgram. */
inline int tport_is_dgram(tport_t const *self)
int tport_is_dgram(tport_t const *self)
{
return self->tp_addrinfo->ai_socktype == SOCK_DGRAM;
}
/** Test if transport is udp. */
inline int tport_is_udp(tport_t const *self)
int tport_is_udp(tport_t const *self)
{
return self->tp_addrinfo->ai_protocol == IPPROTO_UDP;
}
/** Test if transport is tcp. */
inline int tport_is_tcp(tport_t const *self)
int tport_is_tcp(tport_t const *self)
{
return self->tp_addrinfo->ai_protocol == IPPROTO_TCP;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment