summaryrefslogtreecommitdiff
path: root/file/tar.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-10-01 15:18:16 +0000
committerjbj <devnull@localhost>2002-10-01 15:18:16 +0000
commit69f31f57625896cad0bd54e5e35b53808d2c641c (patch)
tree7f1c2e99ec3738f7c3f5276ac21ebd9472558c1b /file/tar.h
parent9e39ec258af280198beb131dc969b0386db536d5 (diff)
downloadlibrpm-tizen-69f31f57625896cad0bd54e5e35b53808d2c641c.tar.gz
librpm-tizen-69f31f57625896cad0bd54e5e35b53808d2c641c.tar.bz2
librpm-tizen-69f31f57625896cad0bd54e5e35b53808d2c641c.zip
lclint fiddles.
CVS patchset: 5741 CVS date: 2002/10/01 15:18:16
Diffstat (limited to 'file/tar.h')
-rw-r--r--file/tar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/file/tar.h b/file/tar.h
index 6def803b4..b8d7c9345 100644
--- a/file/tar.h
+++ b/file/tar.h
@@ -8,6 +8,9 @@
* Id: tar.h,v 1.5 1999/01/13 15:44:10 christos Exp # checkin only
*/
+#ifndef __tar_h__
+#define __tar_h__
+
/*
* Kludge for handling systems that can't cope with multiple
* external definitions of a variable. In ONE routine (tar.c),
@@ -79,6 +82,7 @@ union record {
#define EX_SYSTEM 4 /* system gave unexpected error */
+#if 0
/*
* Global variables
*/
@@ -111,6 +115,7 @@ TAR_EXTERN char f_namefile; /* -T */
TAR_EXTERN char f_verbose; /* -v */
TAR_EXTERN char f_extract; /* -x */
TAR_EXTERN char f_compress; /* -z */
+#endif
/*
* We now default to Unix Standard format rather than 4.2BSD tar format.
@@ -134,11 +139,13 @@ struct name {
char name[NAMSIZ+1];
};
+#if 0
TAR_EXTERN struct name *namelist; /* Points to first name in list */
TAR_EXTERN struct name *namelast; /* Points to last name in list */
TAR_EXTERN int archive; /* File descriptor for archive file */
TAR_EXTERN int errors; /* # of files in error */
+#endif
/*
*
@@ -158,6 +165,7 @@ struct link {
char name[NAMSIZ+1];
};
+#if 0
TAR_EXTERN struct link *linklist; /* Points to first link in list */
@@ -165,4 +173,6 @@ TAR_EXTERN struct link *linklist; /* Points to first link in list */
* Error recovery stuff
*/
TAR_EXTERN char read_error_flag;
+#endif
+#endif /* __tar_h__ */