summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-21 10:38:04 +1000
committerGünther Deschner <gd@samba.org>2010-05-21 10:24:55 +0200
commita92b653af964364ee438c6ee69a87eb7603ceab0 (patch)
treef4b97ac212fb19706b5fc89d7c5061b707f74a41 /source3/lib/time.c
parentc8a23147fe12c693fd7944af7bb09b88393789d9 (diff)
downloadsamba-a92b653af964364ee438c6ee69a87eb7603ceab0.tar.gz
samba-a92b653af964364ee438c6ee69a87eb7603ceab0.tar.bz2
samba-a92b653af964364ee438c6ee69a87eb7603ceab0.zip
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index b965479957..3a43a5b6cd 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -50,7 +50,7 @@ NTTIME nttime_from_string(const char *s)
preserve the "special" values.
**************************************************************/
-uint32_t convert_time_t_to_uint32(time_t t)
+uint32_t convert_time_t_to_uint32_t(time_t t)
{
#if (defined(SIZEOF_TIME_T) && (SIZEOF_TIME_T == 8))
/* time_t is 64-bit. */
@@ -63,7 +63,7 @@ uint32_t convert_time_t_to_uint32(time_t t)
return (uint32_t)t;
}
-time_t convert_uint32_to_time_t(uint32_t u)
+time_t convert_uint32_t_to_time_t(uint32_t u)
{
#if (defined(SIZEOF_TIME_T) && (SIZEOF_TIME_T == 8))
/* time_t is 64-bit. */