summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /libc/misc/time
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/adjtime.c2
-rw-r--r--libc/misc/time/time.c40
2 files changed, 21 insertions, 21 deletions
diff --git a/libc/misc/time/adjtime.c b/libc/misc/time/adjtime.c
index cfa94339a..808046eef 100644
--- a/libc/misc/time/adjtime.c
+++ b/libc/misc/time/adjtime.c
@@ -9,7 +9,7 @@
#include <sys/timex.h>
#include <errno.h>
-libc_hidden_proto(adjtimex)
+/* libc_hidden_proto(adjtimex) */
#define MAX_SEC (LONG_MAX / 1000000L - 2)
#define MIN_SEC (LONG_MIN / 1000000L + 2)
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index ce58c8fe9..ae800e1ca 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -154,11 +154,11 @@
#include <xlocale.h>
#endif
-libc_hidden_proto(asctime)
-libc_hidden_proto(asctime_r)
-libc_hidden_proto(ctime)
-libc_hidden_proto(localtime)
-libc_hidden_proto(localtime_r)
+/* libc_hidden_proto(asctime) */
+/* libc_hidden_proto(asctime_r) */
+/* libc_hidden_proto(ctime) */
+/* libc_hidden_proto(localtime) */
+/* libc_hidden_proto(localtime_r) */
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(memcpy) */
@@ -171,18 +171,18 @@ libc_hidden_proto(localtime_r)
/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
/* libc_hidden_proto(getenv) */
-libc_hidden_proto(tzset)
+/* libc_hidden_proto(tzset) */
/* libc_hidden_proto(gettimeofday) */
/* Experimentally off - libc_hidden_proto(strncasecmp) */
-libc_hidden_proto(strtol)
-libc_hidden_proto(strtoul)
-libc_hidden_proto(nl_langinfo)
+/* libc_hidden_proto(strtol) */
+/* libc_hidden_proto(strtoul) */
+/* libc_hidden_proto(nl_langinfo) */
#ifdef __UCLIBC_HAS_XLOCALE__
/* Experimentally off - libc_hidden_proto(strncasecmp_l) */
-libc_hidden_proto(strtol_l)
-libc_hidden_proto(strtoul_l)
-libc_hidden_proto(nl_langinfo_l)
+/* libc_hidden_proto(strtol_l) */
+/* libc_hidden_proto(strtoul_l) */
+/* libc_hidden_proto(nl_langinfo_l) */
/* libc_hidden_proto(__ctype_b_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_b) */
@@ -433,7 +433,7 @@ libc_hidden_def(asctime_r)
#include <sys/times.h>
-libc_hidden_proto(times)
+/* libc_hidden_proto(times) */
#ifndef __BCC__
#if CLOCKS_PER_SEC != 1000000L
@@ -809,9 +809,9 @@ time_t timegm(struct tm *timeptr)
#if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
-libc_hidden_proto(strftime)
+/* libc_hidden_proto(strftime) */
-libc_hidden_proto(strftime_l)
+/* libc_hidden_proto(strftime_l) */
size_t strftime(char *__restrict s, size_t maxsize,
const char *__restrict format,
@@ -1330,9 +1330,9 @@ libc_hidden_def(__XL_NPP(strftime))
#if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
-libc_hidden_proto(strptime)
+/* libc_hidden_proto(strptime) */
-libc_hidden_proto(strptime_l)
+/* libc_hidden_proto(strptime_l) */
char *strptime(const char *__restrict buf, const char *__restrict format,
struct tm *__restrict tm)
@@ -1866,7 +1866,7 @@ ERROR:
#endif /* __UCLIBC_HAS_TZ_FILE__ */
#ifndef __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(isascii)
+/* libc_hidden_proto(isascii) */
#endif
void tzset(void)
@@ -2414,9 +2414,9 @@ DONE:
#if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
-libc_hidden_proto(wcsftime)
+/* libc_hidden_proto(wcsftime) */
-libc_hidden_proto(wcsftime_l)
+/* libc_hidden_proto(wcsftime_l) */
size_t wcsftime(wchar_t *__restrict s, size_t maxsize,
const wchar_t *__restrict format,