aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/pg_locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/pg_locale.h')
-rw-r--r--src/include/utils/pg_locale.h51
1 files changed, 26 insertions, 25 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index 21e9a6d0f5a..b3a178d6a79 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -2,50 +2,51 @@
/* -----------------------------------------------------------------------
* pg_locale.h
*
- * $Header: /cvsroot/pgsql/src/include/utils/pg_locale.h,v 1.3 2000/03/18 18:57:15 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/include/utils/pg_locale.h,v 1.4 2000/04/12 17:16:55 momjian Exp $
*
*
- * Portions Copyright (c) 1999-2000, PostgreSQL, Inc
+ * Portions Copyright (c) 1999-2000, PostgreSQL, Inc
*
- * The PostgreSQL locale utils.
+ * The PostgreSQL locale utils.
*
* Karel Zak - Zakkr
*
* -----------------------------------------------------------------------
*/
-
- #ifndef _PG_LOCALE_
- #define _PG_LOCALE_
-
- #ifdef USE_LOCALE
-
+
+#ifndef _PG_LOCALE_
+#define _PG_LOCALE_
+
+#ifdef USE_LOCALE
+
/*------
* POSIX locale categories and environment variable LANG
*------
*/
-typedef struct PG_LocaleCategories {
- char *lang,
- *lc_ctype,
- *lc_numeric,
- *lc_time,
- *lc_collate,
- *lc_monetary,
- *lc_messages;
-} PG_LocaleCategories;
+typedef struct PG_LocaleCategories
+{
+ char *lang,
+ *lc_ctype,
+ *lc_numeric,
+ *lc_time,
+ *lc_collate,
+ *lc_monetary,
+ *lc_messages;
+} PG_LocaleCategories;
-extern PG_LocaleCategories *PGLC_current( PG_LocaleCategories *lc );
-extern PG_LocaleCategories *PGLC_setlocale( PG_LocaleCategories *lc );
+extern PG_LocaleCategories *PGLC_current(PG_LocaleCategories * lc);
+extern PG_LocaleCategories *PGLC_setlocale(PG_LocaleCategories * lc);
/*------
* Return the POSIX lconv struct (contains number/money formatting information)
- * with locale information for *all* categories. Returned lconv is *independent*
+ * with locale information for *all* categories. Returned lconv is *independent*
* on current locale catogories setting - in contrast to standard localeconv().
*------
*/
extern struct lconv *PGLC_localeconv(void);
-
-#endif /* USE_LOCALE */
-
-#endif /* _PG_LOCALE_ */
+
+#endif /* USE_LOCALE */
+
+#endif /* _PG_LOCALE_ */