Fix the build on -CURRENT by removing inline from public function definitions.

This commit is contained in:
Joe Marcus Clarke 2009-03-25 03:48:05 +00:00
parent eff928500f
commit 4a4e3eecff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230928
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/mcd-debug.c.orig 2009-03-24 23:45:42.000000000 -0400
+++ src/mcd-debug.c 2009-03-24 23:46:43.000000000 -0400
@@ -119,7 +119,7 @@ void mcd_debug_init ()
mc_debug = atoi (mc_debug_str);
}
-inline gint mcd_debug_get_level ()
+gint mcd_debug_get_level ()
{
return mc_debug;
}

View File

@ -0,0 +1,11 @@
--- src/mcd-debug.h.orig 2009-03-24 23:45:58.000000000 -0400
+++ src/mcd-debug.h 2009-03-24 23:46:32.000000000 -0400
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
void mcd_debug_init ();
-inline gint mcd_debug_get_level ();
+gint mcd_debug_get_level ();
void mcd_debug_ref (gpointer obj, const gchar *filename, gint linenum);
void mcd_debug_unref (gpointer obj, const gchar *filename, gint linenum);