summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/libtar.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-13 13:27:10 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-13 13:27:10 (GMT)
commit4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde (patch)
treed9c498dcace58ec370290bb82eff6002d90dd67a /Utilities/cmtar/libtar.c
parentd2710d514268813d0b0291c6d5571ee6638b8b7b (diff)
downloadCMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.zip
CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.gz
CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.bz2
COMP: Remove warnings
Diffstat (limited to 'Utilities/cmtar/libtar.c')
-rw-r--r--Utilities/cmtar/libtar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Utilities/cmtar/libtar.c b/Utilities/cmtar/libtar.c
index a4bd966..c918e24 100644
--- a/Utilities/cmtar/libtar.c
+++ b/Utilities/cmtar/libtar.c
@@ -83,7 +83,8 @@ struct gzStruct GZStruct;
#endif
#endif
-int libtar_gzopen(void* call_data, const char *pathname, int oflags, mode_t mode)
+static int libtar_gzopen(void* call_data, const char *pathname,
+ int oflags, mode_t mode)
{
char *gzoflags;
int fd;
@@ -155,7 +156,7 @@ tartype_t gztype = {
#endif /* HAVE_LIBZ */
-int
+static int
create(char *tarfile, char *rootdir, libtar_list_t *l)
{
TAR *t;