diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2009-03-02 13:05:22 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2009-03-02 13:05:22 +0800 |
commit | e1c8775b084f3c5080e185a94d0e41f185526eba (patch) | |
tree | 2281d6ab830389387d797eac09e309e286595b55 /util | |
parent | cd4d9b6ebfa4a66ba6bd89c5b7d2b34eb25864af (diff) | |
download | ibus-e1c8775b084f3c5080e185a94d0e41f185526eba.tar.gz ibus-e1c8775b084f3c5080e185a94d0e41f185526eba.tar.xz ibus-e1c8775b084f3c5080e185a94d0e41f185526eba.zip |
Fix some compile problems with Sun C compiler.
Diffstat (limited to 'util')
-rw-r--r-- | util/IMdkit/i18nX.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/IMdkit/i18nX.c b/util/IMdkit/i18nX.c index a55dc6d..0ae92d2 100644 --- a/util/IMdkit/i18nX.c +++ b/util/IMdkit/i18nX.c @@ -144,7 +144,7 @@ static unsigned char *ReadXIMMessage (XIMS ims, get_length = LONG_MAX; get_length /= 4; if (get_length == 0) { - fprintf(stderr, "%s: invalid length 0\n", __FUNCTION__); + fprintf(stderr, "%s: invalid length 0\n", __func__); return NULL; } return_code = XGetWindowProperty (i18n_core->address.dpy, @@ -178,7 +178,7 @@ static unsigned char *ReadXIMMessage (XIMS ims, break; default: fprintf(stderr, "%s: unknown property return format: %d\n", - __FUNCTION__, actual_format_ret); + __func__, actual_format_ret); XFree(prop); client->property_offset = 0; return NULL; |