summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charset.c2
-rw-r--r--source3/lib/time.c14
2 files changed, 1 insertions, 15 deletions
diff --git a/source3/lib/charset.c b/source3/lib/charset.c
index 74e3a8f358..79a82f8587 100644
--- a/source3/lib/charset.c
+++ b/source3/lib/charset.c
@@ -145,7 +145,7 @@ static void add_dos_char(int lower, BOOL map_lower_to_upper,
/****************************************************************************
initialise the charset arrays
****************************************************************************/
-void charset_initialise()
+void charset_initialise(void)
{
int i;
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 81e3dcfd8f..f60af60c7a 100644
--- a/source3/lib/time.c
+++ b/source3/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;
-}