diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-25 17:50:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:16 -0500 |
commit | fcd718c7d8a6850ae8719f23ed044b06b57501cd (patch) | |
tree | 78fe8265d44c4644b01963784a37f4505785fb97 /source4/smb_server/srvtime.c | |
parent | f88bf54c7f6d1c2ef833047eb8327953c304b5ff (diff) | |
download | samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.gz samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.bz2 samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.zip |
r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
Diffstat (limited to 'source4/smb_server/srvtime.c')
-rw-r--r-- | source4/smb_server/srvtime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/smb_server/srvtime.c b/source4/smb_server/srvtime.c index c6a0606e89..7eeb1fcff9 100644 --- a/source4/smb_server/srvtime.c +++ b/source4/smb_server/srvtime.c @@ -27,7 +27,7 @@ put a dos date into a buffer (time/date format) This takes GMT time and puts local time for zone_offset in the buffer ********************************************************************/ void srv_push_dos_date(struct server_context *smb_server, - uint8 *buf, int offset, time_t unixdate) + uint8_t *buf, int offset, time_t unixdate) { push_dos_date(buf, offset, unixdate, smb_server->negotiate.zone_offset); } @@ -56,7 +56,7 @@ void srv_push_dos_date3(struct server_context *smb_server, convert a dos date ********************************************************************/ time_t srv_pull_dos_date(struct server_context *smb_server, - const uint8 *date_ptr) + const uint8_t *date_ptr) { return pull_dos_date(date_ptr, smb_server->negotiate.zone_offset); } @@ -65,7 +65,7 @@ time_t srv_pull_dos_date(struct server_context *smb_server, like srv_pull_dos_date() but the words are reversed ********************************************************************/ time_t srv_pull_dos_date2(struct server_context *smb_server, - const uint8 *date_ptr) + const uint8_t *date_ptr) { return pull_dos_date2(date_ptr, smb_server->negotiate.zone_offset); } @@ -75,7 +75,7 @@ time_t srv_pull_dos_date2(struct server_context *smb_server, these arrive in server zone, with corresponding DST ******************************************************************/ time_t srv_pull_dos_date3(struct server_context *smb_server, - const uint8 *date_ptr) + const uint8_t *date_ptr) { return pull_dos_date3(date_ptr, smb_server->negotiate.zone_offset); } |