]> Pileus Git - ~andy/gtk/commitdiff
declare _xdg_utf8_skip as extern to prevent multiple definitions.
authorManish Singh <yosh@gimp.org>
Mon, 9 Feb 2004 03:06:22 +0000 (03:06 +0000)
committerManish Singh <yosh@src.gnome.org>
Mon, 9 Feb 2004 03:06:22 +0000 (03:06 +0000)
Sun Feb  8 19:05:16 2004  Manish Singh  <yosh@gimp.org>

        * xdgmimeint.h: declare _xdg_utf8_skip as extern to prevent multiple
        definitions.

gtk/xdgmime/ChangeLog
gtk/xdgmime/xdgmimeint.h

index d307a2d9ec7ee8475012f7b61cdfb5377511940e..09fa08d5f242919f1a561a392de7d945e8dc048c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Feb  8 19:05:16 2004  Manish Singh  <yosh@gimp.org>
+
+       * xdgmimeint.h: declare _xdg_utf8_skip as extern to prevent multiple
+       definitions.
+
 Wed Jan 21 09:33:13 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * libgnomevfs/xdgmimeglob.c:
index 8f6bafa41a757d8bf4278a1be84580d4be4ce0e8..c0db921a10a7d2f225db7cc62a43e6e9229c2065 100644 (file)
@@ -52,7 +52,7 @@ typedef unsigned int   xdg_uint32_t;
                                              (((xdg_uint32_t)(val) & 0x000000FFU) << 24))
 /* UTF-8 utils
  */
-const char *const _xdg_utf8_skip;
+extern const char *const _xdg_utf8_skip;
 #define _xdg_utf8_next_char(p) (char *)((p) + _xdg_utf8_skip[*(unsigned char *)(p)])
 #define _xdg_utf8_char_size(p) (int) (_xdg_utf8_skip[*(unsigned char *)(p)])