This patch replaces the "mimetype: Make mk_mimetype_lookup static" and should be part of the C99 inlining rules patch series if it is applied. Sorry about that.
-- Sonny Karlsson
>From 5a100f8814394c9b3ac520eb9cdcbc07120c4586 Mon Sep 17 00:00:00 2001 From: Sonny Karlsson <[email protected]> Date: Tue, 14 Aug 2012 14:45:36 +0200 Subject: [PATCH] mimetype: Remove inline from mk_mimetype_lookup declaration. Allows calls to function from outside translation unit under C99 inlining rules. Signed-off-by: Sonny Karlsson <[email protected]> --- src/include/mk_mimetype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/mk_mimetype.h b/src/include/mk_mimetype.h index a81e922..ac11b42 100644 --- a/src/include/mk_mimetype.h +++ b/src/include/mk_mimetype.h @@ -44,7 +44,7 @@ extern struct mimetype *mimetype_default; int mk_mimetype_add(const char *name, const char *type, const int common); void mk_mimetype_read_config(void); struct mimetype *mk_mimetype_find(mk_pointer * filename); -inline struct mimetype *mk_mimetype_lookup(const char *name); +struct mimetype *mk_mimetype_lookup(const char *name); void mk_mimearr_sort(); #endif -- 1.7.10.4
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
