ICU-3389 Reduce the number of exported symbols

X-SVN-Rev: 14793
This commit is contained in:
George Rhoten 2004-03-29 21:59:27 +00:00
parent 919d6d3f2a
commit c5a0a54ec1
2 changed files with 6 additions and 6 deletions

View File

@ -18,12 +18,12 @@ and print it to stderr
/* Set the path to wmsg's bundle. /* Set the path to wmsg's bundle.
Caller owns storage. Caller owns storage.
*/ */
U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err);
/* Format a message and print it's output to a given file stream */ /* Format a message and print it's output to a given file stream */
U_CAPI int u_wmsg(FILE *fp, const char *tag, ... ); U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
/* format an error message */ /* format an error message */
U_CAPI const UChar* u_wmsg_errorName(UErrorCode err); U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
#endif #endif

View File

@ -88,7 +88,7 @@ static UResourceBundle *gBundle = NULL;
U_STRING_DECL(gNoFormatting, " (UCONFIG_NO_FORMATTING see uconfig.h)", 38); U_STRING_DECL(gNoFormatting, " (UCONFIG_NO_FORMATTING see uconfig.h)", 38);
U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err) U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err)
{ {
if(U_FAILURE(*err)) if(U_FAILURE(*err))
{ {
@ -119,7 +119,7 @@ U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err)
} }
/* Format a message and print it's output to fp */ /* Format a message and print it's output to fp */
U_CAPI int u_wmsg(FILE *fp, const char *tag, ... ) U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... )
{ {
const UChar *msg; const UChar *msg;
int32_t msgLen; int32_t msgLen;
@ -216,7 +216,7 @@ static const UChar *fetchErrorName(UErrorCode err)
return gInfoMessages[err-U_ERROR_WARNING_START]; return gInfoMessages[err-U_ERROR_WARNING_START];
} }
U_CAPI const UChar *u_wmsg_errorName(UErrorCode err) U_CFUNC const UChar *u_wmsg_errorName(UErrorCode err)
{ {
UChar *msg; UChar *msg;
int32_t msgLen; int32_t msgLen;