diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-03 07:22:45 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-03 07:22:45 +0000 |
commit | a19c823c3c21af6267018c62b68cce0937a3da13 (patch) | |
tree | 85f00a33e079615fb6a6db99744bcfd6934a3b9d /source3 | |
parent | 4a0fab59cb70c6bdcbfb8bd8d3492cd1e01ca917 (diff) | |
download | samba-a19c823c3c21af6267018c62b68cce0937a3da13.tar.gz samba-a19c823c3c21af6267018c62b68cce0937a3da13.tar.bz2 samba-a19c823c3c21af6267018c62b68cce0937a3da13.zip |
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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |