From a19c823c3c21af6267018c62b68cce0937a3da13 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 3 Jul 2002 07:22:45 +0000 Subject: Make these functions static. These are not mentioned in the external header, and appear to be functions for internal use. Richard: please check. Andrew Bartlett (This used to be commit cb61e61a113dede4a0b0f5d31d0ec89c4b6ecd65) --- source3/libsmb/libsmbclient.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 3066f72280..dcf2755c8d 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -55,8 +55,8 @@ struct smbc_file { int dir_type, dir_error; }; -int smbc_fstatdir(int fd, struct stat *st); /* Forward decl */ -BOOL smbc_getatr(struct smbc_server *srv, char *path, +static int smbc_fstatdir(int fd, struct stat *st); /* Forward decl */ +static BOOL smbc_getatr(struct smbc_server *srv, char *path, uint16 *mode, size_t *size, time_t *c_time, time_t *a_time, time_t *m_time, SMB_INO_T *ino); @@ -1164,7 +1164,7 @@ int smbc_setup_stat(struct stat *st, char *fname, size_t size, int mode) * and if that fails, use getatr, as Win95 sometimes refuses qpathinfo */ -BOOL smbc_getatr(struct smbc_server *srv, char *path, +static BOOL smbc_getatr(struct smbc_server *srv, char *path, uint16 *mode, size_t *size, time_t *c_time, time_t *a_time, time_t *m_time, SMB_INO_T *ino) @@ -2344,7 +2344,7 @@ int smbc_lseekdir(int fd, off_t offset) * Routine to fstat a dir */ -int smbc_fstatdir(int fd, struct stat *st) +static int smbc_fstatdir(int fd, struct stat *st) { if (!smbc_initialized) { -- cgit