From 2e0449e0ad3b67b5800172a9191746960a8a69c5 Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Tue, 29 Aug 2000 06:37:12 +0000 Subject: [PATCH] ICU-535 use U_EXPORT instead of U_CAPI to prevent gcc from complaining about initializing externs. X-SVN-Rev: 2372 --- icu4c/source/tools/genccode/genccode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/tools/genccode/genccode.c b/icu4c/source/tools/genccode/genccode.c index 3c1f822d97..a2b3480d67 100644 --- a/icu4c/source/tools/genccode/genccode.c +++ b/icu4c/source/tools/genccode/genccode.c @@ -129,7 +129,7 @@ writeCCode(const char *filename, const char *destdir) { sprintf(buffer, "#include \"unicode/utypes.h\"\n" - "U_CAPI const struct {\n" + "U_EXPORT const struct {\n" " double bogus;\n" " uint8_t bytes[%ld]; \n" "} U_EXPORT2 %s={ 0, {\n",