diff options
author | ache <ache@FreeBSD.org> | 2002-08-07 16:45:23 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-07 16:45:23 +0000 |
commit | 5695ea6363a2eab6ca0fe05e683eddad7ade75ca (patch) | |
tree | fd1099310bb3054db75e0b388dc5bdcff3c468f9 /lib/libc/locale/lmessages.c | |
parent | 2573e2eec1684106b501be3367ecd8f50679ee50 (diff) | |
download | FreeBSD-src-5695ea6363a2eab6ca0fe05e683eddad7ade75ca.zip FreeBSD-src-5695ea6363a2eab6ca0fe05e683eddad7ade75ca.tar.gz |
Style fixes in preparation of code rewritting
Diffstat (limited to 'lib/libc/locale/lmessages.c')
-rw-r--r-- | lib/libc/locale/lmessages.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/locale/lmessages.c b/lib/libc/locale/lmessages.c index 8b826f7..dd1239e 100644 --- a/lib/libc/locale/lmessages.c +++ b/lib/libc/locale/lmessages.c @@ -50,8 +50,8 @@ static int _messages_using_locale; static char *_messages_locale_buf; int -__messages_load_locale(const char *name) { - +__messages_load_locale(const char *name) +{ /* * Propose that we can have incomplete locale file (w/o "{yes,no}str"). * Initialize them before loading. In case of complete locale, they'll @@ -67,8 +67,8 @@ __messages_load_locale(const char *name) { } struct lc_messages_T * -__get_current_messages_locale(void) { - +__get_current_messages_locale(void) +{ return (_messages_using_locale ? &_messages_locale : (struct lc_messages_T *)&_C_messages_locale); |