diff options
author | phantom <phantom@FreeBSD.org> | 2001-12-11 15:55:42 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-12-11 15:55:42 +0000 |
commit | f3ed7361342301c866a8d105912aa6f104ffc8b4 (patch) | |
tree | c62a1177cbccca85d9a4ab689c4715da8c827bad /lib/libc/locale/lmessages.c | |
parent | cdb5aff0aa9a9eb36e9553221a2c5949131c95d9 (diff) | |
download | FreeBSD-src-f3ed7361342301c866a8d105912aa6f104ffc8b4.zip FreeBSD-src-f3ed7361342301c866a8d105912aa6f104ffc8b4.tar.gz |
* Add my e-mail to copyrights
* style(9)'ify
Diffstat (limited to 'lib/libc/locale/lmessages.c')
-rw-r--r-- | lib/libc/locale/lmessages.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/locale/lmessages.c b/lib/libc/locale/lmessages.c index a9bdf5b..4dcd719 100644 --- a/lib/libc/locale/lmessages.c +++ b/lib/libc/locale/lmessages.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001 Alexey Zelkin + * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -46,19 +46,21 @@ static const struct lc_messages_T _C_messages_locale = { static struct lc_messages_T _messages_locale; static int _messages_using_locale; -static char * messages_locale_buf; +static char *_messages_locale_buf; int __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 - be initialized to loaded value, otherwise they'll not be touched. */ + /* + * Propose that we can have incomplete locale file (w/o "{yes,no}str"). + * Initialize them before loading. In case of complete locale, they'll + * be initialized to loaded value, otherwise they'll not be touched. + */ _messages_locale.yesstr = empty; _messages_locale.nostr = empty; return __part_load_locale(name, &_messages_using_locale, - messages_locale_buf, "LC_MESSAGES", + _messages_locale_buf, "LC_MESSAGES", LCMESSAGES_SIZE_FULL, LCMESSAGES_SIZE_MIN, (const char **)&_messages_locale); } |