Commit 07059a43 authored by Pekka Pessi's avatar Pekka Pessi

Fixed gcc4 problems with tag classes.

darcs-hash:20050908180757-65a35-970e552d45c72c5144c9a4e8775575da0c6df410.gz
parent 93938974
......@@ -47,6 +47,9 @@
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#ifndef HTTP_H
#include <http.h>
......
......@@ -50,6 +50,9 @@
#ifndef MSG_MCLASS_H
#include <msg_mclass.h>
#endif
#ifndef MSG_MCLASS_H
#include <msg_mclass.h>
#endif
MSG_DLL extern msg_mclass_t const msg_multipart_mclass[1];
......
......@@ -41,6 +41,9 @@
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#ifndef SDP_H
#include <sdp.h>
#endif
......
......@@ -86,6 +86,18 @@ SU_DLL extern tag_class_t str_tag_class[];
SU_DLL extern tag_class_t ref_tag_class[];
SU_DLL extern tag_class_t int_tag_class[];
SU_DLL extern tag_class_t uint_tag_class[];
SU_DLL extern tag_class_t bool_tag_class[];
SU_DLL extern tag_class_t ptr_tag_class[];
SU_DLL extern tag_class_t cstr_tag_class[];
SU_DLL extern tag_class_t str_tag_class[];
#define REFTAG_TYPEDEF(tag) \
{{ TAG_NAMESPACE, #tag "_ref", ref_tag_class, (tag_value_t)tag }}
SU_DLL extern tag_class_t ref_tag_class[];
SU_DLL int t_ptr_snprintf(tagi_t const *t, char b[], size_t size);
SU_DLL int t_ptr_ref_set(tag_type_t tt, void *ref, tagi_t const value[]);
SU_DLL int t_ptr_scan(tag_type_t, su_home_t *, char const *, tag_value_t *);
......
......@@ -99,7 +99,7 @@ static inline tagi_t *t_dup(tagi_t *dst, tagi_t const *src, void **bb)
return dst + 1;
}
static inline tagi_t const *t_find(tag_type_t tt, tagi_t const lst[])
static inline tagi_t const *t_find(tag_type_t tt, tagi_t const *lst)
{
if (!tt)
return NULL;
......
......@@ -42,6 +42,9 @@
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#ifndef SU_TAG_CLASS_H
#include <su_tag_class.h>
#endif
#include <url_dll.h>
......
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