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/lnumeric.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/lnumeric.c')
-rw-r--r-- | lib/libc/locale/lnumeric.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/locale/lnumeric.c b/lib/libc/locale/lnumeric.c index e74321a..eb6015a 100644 --- a/lib/libc/locale/lnumeric.c +++ b/lib/libc/locale/lnumeric.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2001 Alexey Zelkin + * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -31,21 +31,21 @@ #include "ldpart.h" extern int __nlocale_changed; -extern const char * __fix_locale_grouping_str(const char *); +extern const char *__fix_locale_grouping_str(const char *); #define LCNUMERIC_SIZE (sizeof(struct lc_numeric_T) / sizeof(char *)) -static char numempty[] = { CHAR_MAX, '\0' }; +static char numempty[] = { CHAR_MAX, '\0' }; static const struct lc_numeric_T _C_numeric_locale = { - ".", /* decimal_point */ - "", /* thousands_sep */ - numempty /* grouping */ + ".", /* decimal_point */ + "", /* thousands_sep */ + numempty /* grouping */ }; static struct lc_numeric_T _numeric_locale; -static int _numeric_using_locale; -static char * numeric_locale_buf; +static int _numeric_using_locale; +static char *_numeric_locale_buf; int __numeric_load_locale(const char *name) { @@ -54,7 +54,7 @@ __numeric_load_locale(const char *name) { __nlocale_changed = 1; ret = __part_load_locale(name, &_numeric_using_locale, - numeric_locale_buf, "LC_NUMERIC", + _numeric_locale_buf, "LC_NUMERIC", LCNUMERIC_SIZE, LCNUMERIC_SIZE, (const char **)&_numeric_locale); if (ret == 0 && _numeric_using_locale) |