From 205d3c89825fa40880d67d4c9c2b89d21bcb8e7f Mon Sep 17 00:00:00 2001 From: phantom Date: Thu, 24 Jan 2002 15:07:44 +0000 Subject: * style(9)'fy * declare prototype for __time_load_locale() in timelocal.h --- lib/libc/stdtime/timelocal.h | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'lib/libc/stdtime/timelocal.h') 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_ */ -- cgit v1.1