summaryrefslogtreecommitdiff
path: root/source3/client/clitar.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
committerJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
commit9f57f01b144b030274cc5d116b864b3c27f251ef (patch)
tree700d64327adb19152e1d511652a1722bb007c3ca /source3/client/clitar.c
parent5e9cd44fedc388cf83807592327696a66835af47 (diff)
downloadsamba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.gz
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.bz2
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.zip
clitar.c: #ifdef'ed out all the bits that were giving 'defined but not used'
messages. nttrans.c: More updates. smb.h: Removed stuff that didn't belong in the smb_passwd struct. Persuaded Luke to use a new structure. web/swat.c: Fixed gcc complaints about shadowing global 'string'. Jeremy. (This used to be commit 61c1dbb9785ed1e6fe40f93c7cc65024884df6f5)
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r--source3/client/clitar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index c0325c37e5..98364b77ed 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -142,6 +142,8 @@ static void unfixtarname(char *tptr, char *fp, int l);
* tar specific utitlities
*/
+#if 0 /* Removed to get around gcc 'defined but not used' error. */
+
/*
* Stack routines, push_dir, pop_dir, top_dir_name
*/
@@ -186,6 +188,8 @@ static BOOL sub_dir(char *dir1, char *dir2)
}
+#endif /* Removed to get around gcc 'defined but not used' error. */
+
/* Create a string of size size+1 (for the null) */
static char * string_create_s(int size)
{
@@ -1477,6 +1481,8 @@ static void unfixtarname(char *tptr, char *fp, int l)
}
}
+#if 0 /* Removed to get around gcc 'defined but not used' error. */
+
/****************************************************************************
Move to the next block in the buffer, which may mean read in another set of
blocks.
@@ -1664,6 +1670,7 @@ static void do_tarput2(void)
}
+#endif /* Removed to get around gcc 'defined but not used' error. */
static void do_tarput()
{