Commit 5b99945f authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed last remaining uses of internal config.h definition in public headers. Closes bug #1455265.

darcs-hash:20060603151104-7659e-11399f6d56e823c280ceab4640cbd4ba3a6912f3.gz
parent 37c7548a
......@@ -102,7 +102,7 @@ SOFIAPUBVAR tag_typedef_t httptag_http;
#define HTTPTAG_HTTP_REF(x) httptag_http_ref, httptag_http_vr(&(x))
SOFIAPUBVAR tag_typedef_t httptag_http_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
tag_value_t httptag_http_v(http_t const *v) { return (tag_value_t)v; }
static inline
......@@ -150,7 +150,7 @@ SOFIAPUBVAR tag_typedef_t httptag_header;
#define HTTPTAG_HEADER_REF(x) httptag_header_ref, httptag_header_vr(&(x))
SOFIAPUBVAR tag_typedef_t httptag_header_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline tag_value_t
httptag_header_v(http_header_t const *v)
{ return (tag_value_t)v; }
......@@ -220,7 +220,7 @@ SOFIAPUBVAR tag_typedef_t httptag_#xxxxxx#_ref;
#define HTTPTAG_#XXXXXX#_STR_REF(x) HTTPTAG_STR_REF(#xxxxxx#, x)
SOFIAPUBVAR tag_typedef_t httptag_#xxxxxx#_str_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline tag_value_t
httptag_#xxxxxx#_v(http_#xxxxxx#_t const *v)
{ return (tag_value_t)v; }
......
......@@ -63,7 +63,7 @@ sdptag_session_ref, sdptag_session_vr(&(x))
/* Functions for typesafe parameter passing */
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
tag_value_t sdptag_session_v(struct sdp_session_s const *v) {
return (tag_value_t)v;
......
......@@ -104,7 +104,7 @@ SOFIAPUBVAR tag_typedef_t siptag_sip;
#define SIPTAG_SIP_REF(x) siptag_sip_ref, siptag_sip_vr(&(x))
SOFIAPUBVAR tag_typedef_t siptag_sip_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
tag_value_t siptag_sip_v(sip_t const *v) { return (tag_value_t)v; }
static inline
......@@ -136,7 +136,7 @@ SOFIAPUBVAR tag_typedef_t siptag_header;
#define SIPTAG_HEADER_REF(x) siptag_header_ref, siptag_header_vr(&(x))
SOFIAPUBVAR tag_typedef_t siptag_header_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline tag_value_t
siptag_header_v(sip_header_t const *v)
{ return (tag_value_t)v; }
......@@ -232,7 +232,7 @@ SOFIAPUBVAR tag_typedef_t siptag_#xxxxxx#_str;
#define SIPTAG_#XXXXXX#_STR_REF(x) siptag_#xxxxxx#_str_ref, tag_str_vr(&(x))
SOFIAPUBVAR tag_typedef_t siptag_#xxxxxx#_str_ref;
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline tag_value_t
siptag_#xxxxxx#_v(sip_#xxxxxx#_t const *v)
{ return (tag_value_t)v; }
......
......@@ -107,7 +107,7 @@ SU_DLL su_strlst_t *su_strlst_dup_split(su_home_t *, char const *s,
/** Get number of items in list. */
SU_DLL unsigned su_strlst_len(su_strlst_t const *l);
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
su_home_t *su_strlst_home(su_strlst_t *s)
{
......
......@@ -67,7 +67,7 @@ SU_DLL unsigned su_vector_len(su_vector_t const *l);
SU_DLL int su_vector_empty(su_vector_t *vector);
SU_DLL int su_vector_is_empty(su_vector_t const *vector);
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
su_home_t *su_vector_home(su_vector_t *s)
{
......
......@@ -58,7 +58,7 @@ SOFIAPUBVAR tag_typedef_t urltag_url_ref;
#define URLTAG_URL_REF(u) urltag_url_ref, urltag_url_vr(&(u))
#if HAVE_INLINE
#if SU_HAVE_INLINE
static inline
tag_value_t urltag_url_v(void const *v) { return (tag_value_t)v; }
static inline
......
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