summaryrefslogtreecommitdiffstats
path: root/source/lib/time.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-02-13 07:11:58 +0000
committerJeremy Allison <jra@samba.org>1998-02-13 07:11:58 +0000
commit10d628e4aeaecc573de27e251fec7b91844cba40 (patch)
treec96f42e2ad53c8a36d20905880a750cb25d7ac17 /source/lib/time.c
parentb7712a0a6d0afeef6239d5af61cba677eebb247b (diff)
downloadsamba-10d628e4aeaecc573de27e251fec7b91844cba40.tar.gz
samba-10d628e4aeaecc573de27e251fec7b91844cba40.tar.xz
samba-10d628e4aeaecc573de27e251fec7b91844cba40.zip
Ding-dong the witch is dead, the witch is dead......
This is the checkin that fixes the infamous Visual C++ 'file has changed' bug. I feel *SO* good about that :-). charset.c: Added (void) to fix Herb's fussy compiler. loadparm.c: Removed "win95 bug compatibility" (didn't like it much anyway :-). Added "dos filetime resolution" instead. reply.c: Added the 2 second timestamp resolution fix that the song above is about. time.c: Removed unneeded get_access_time() function. trans2.c : Removed unneeded "win95 bug compatibility" code. Jeremy.
Diffstat (limited to 'source/lib/time.c')
-rw-r--r--source/lib/time.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source/lib/time.c b/source/lib/time.c
index 81e3dcfd8f1..f60af60c7aa 100644
--- a/source/lib/time.c
+++ b/source/lib/time.c
@@ -499,17 +499,3 @@ time_t get_create_time(struct stat *st)
*/
return ret;
}
-
-/****************************************************************************
- return the 'access time' under UNIX from a stat structure.
- This function exists to allow modifications to be done depending
- on what we want to return. Just return the normal atime (for now).
-****************************************************************************/
-
-time_t get_access_time(struct stat *st)
-{
- if (lp_win95_bug_compatibility())
- return st->st_mtime;
- else
- return st->st_atime;
-}