From dc698bb038756a926aaa529bda1b939eab2c1676 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 9 Jan 2010 19:10:49 +0100 Subject: *: make it easier to distinquish "struct tm", pointer to one, etc Signed-off-by: Denys Vlasenko --- include/libbb.h | 4 ++-- include/rtc_.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index cda59dc..e07bb52 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -444,8 +444,8 @@ struct BUG_too_small { }; -void parse_datestr(const char *date_str, struct tm *tm_time) FAST_FUNC; -time_t validate_tm_time(const char *date_str, struct tm *tm_time) FAST_FUNC; +void parse_datestr(const char *date_str, struct tm *ptm) FAST_FUNC; +time_t validate_tm_time(const char *date_str, struct tm *ptm) FAST_FUNC; int xsocket(int domain, int type, int protocol) FAST_FUNC; diff --git a/include/rtc_.h b/include/rtc_.h index 2b4ae77..b5fe8ec 100644 --- a/include/rtc_.h +++ b/include/rtc_.h @@ -13,8 +13,8 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN int rtc_adjtime_is_utc(void) FAST_FUNC; int rtc_xopen(const char **default_rtc, int flags) FAST_FUNC; -void rtc_read_tm(struct tm *tm, int fd) FAST_FUNC; -time_t rtc_tm2time(struct tm *tm, int utc) FAST_FUNC; +void rtc_read_tm(struct tm *ptm, int fd) FAST_FUNC; +time_t rtc_tm2time(struct tm *ptm, int utc) FAST_FUNC; /* -- cgit v1.1