[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-167-g09e5c6a
Jelmer Vernooij
jelmer at samba.org
Sun Mar 9 12:52:50 GMT 2008
The branch, v3-2-test has been updated
via 09e5c6adde5564afc0d1be25f297fbfd284d559f (commit)
via c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d (commit)
from c2401811aa3d02a9e27969687b9ea035407000c3 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 09e5c6adde5564afc0d1be25f297fbfd284d559f
Merge: c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d c2401811aa3d02a9e27969687b9ea035407000c3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 9 13:51:52 2008 +0100
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d
Author: Charles <neologix at free.fr>
Date: Sun Mar 9 13:50:56 2008 +0100
smbget: Make global variables static.
-----------------------------------------------------------------------
Summary of changes:
source/utils/smbget.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/smbget.c b/source/utils/smbget.c
index e5185d0..1b916c8 100644
--- a/source/utils/smbget.c
+++ b/source/utils/smbget.c
@@ -27,14 +27,14 @@
#define OFF_T_FORMAT_CAST long
#endif
-int columns = 0;
+static int columns = 0;
static int _resume, _recursive, debuglevel, update;
static char *outputfile;
-time_t total_start_time = 0;
-off_t total_bytes = 0;
+static time_t total_start_time = 0;
+static off_t total_bytes = 0;
#define SMB_MAXPATHLEN MAXPATHLEN
@@ -45,9 +45,9 @@ off_t total_bytes = 0;
/* Number of bytes to read at once */
#define SMB_DEFAULT_BLOCKSIZE 64000
-const char *username = NULL, *password = NULL, *workgroup = NULL;
-int nonprompt = 0, quiet = 0, dots = 0, keep_permissions = 0, verbose = 0, send_stdout = 0;
-int blocksize = SMB_DEFAULT_BLOCKSIZE;
+static const char *username = NULL, *password = NULL, *workgroup = NULL;
+static int nonprompt = 0, quiet = 0, dots = 0, keep_permissions = 0, verbose = 0, send_stdout = 0;
+static int blocksize = SMB_DEFAULT_BLOCKSIZE;
static int smb_download_file(const char *base, const char *name, int recursive, int resume, char *outfile);
--
Samba Shared Repository
More information about the samba-cvs
mailing list