summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/timelocal.h
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2002-01-24 15:07:44 +0000
committerphantom <phantom@FreeBSD.org>2002-01-24 15:07:44 +0000
commit205d3c89825fa40880d67d4c9c2b89d21bcb8e7f (patch)
tree90dbe6de4ed3d0446984071d7ecfe19eae0eeeeb /lib/libc/stdtime/timelocal.h
parent6dc8ab99b20a02d64773ff9ca6bd10092ee80bae (diff)
downloadFreeBSD-src-205d3c89825fa40880d67d4c9c2b89d21bcb8e7f.zip
FreeBSD-src-205d3c89825fa40880d67d4c9c2b89d21bcb8e7f.tar.gz
* style(9)'fy
* declare prototype for __time_load_locale() in timelocal.h
Diffstat (limited to 'lib/libc/stdtime/timelocal.h')
-rw-r--r--lib/libc/stdtime/timelocal.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index 843c42b..5d26bf9 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 1997 FreeBSD Inc.
+ * Copyright (c) 1997-2002 FreeBSD Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,29 +26,30 @@
* $FreeBSD$
*/
-#ifndef _TIMELOCAL_H
-#define _TIMELOCAL_H
+#ifndef _TIMELOCAL_H_
+#define _TIMELOCAL_H_
/*
* Private header file for the strftime and strptime localization
* stuff.
*/
struct lc_time_T {
- const char * mon[12];
- const char * month[12];
- const char * wday[7];
- const char * weekday[7];
- const char * X_fmt;
- const char * x_fmt;
- const char * c_fmt;
- const char * am;
- const char * pm;
- const char * date_fmt;
- const char * alt_month[12];
- const char * md_order;
- const char * ampm_fmt;
+ const char *mon[12];
+ const char *month[12];
+ const char *wday[7];
+ const char *weekday[7];
+ const char *X_fmt;
+ const char *x_fmt;
+ const char *c_fmt;
+ const char *am;
+ const char *pm;
+ const char *date_fmt;
+ const char *alt_month[12];
+ const char *md_order;
+ const char *ampm_fmt;
};
-struct lc_time_T * __get_current_time_locale(void);
+struct lc_time_T *__get_current_time_locale(void);
+int __time_load_locale(const char *);
-#endif /* _TIMELOCAL_H */
+#endif /* !_TIMELOCAL_H_ */
OpenPOWER on IntegriCloud