summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2007-12-14 16:11:26 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2007-12-14 16:11:26 +0100
commit3d14ba70a6e3164556a5f984bd7a183df8a1cd00 (patch)
treef773009bebb96be72aefe74525f525c1c16b53b4 /read.c
parent6749719af90afe9544db14bdd8e2742926f1439c (diff)
downloade2tools-3d14ba70a6e3164556a5f984bd7a183df8a1cd00.tar.gz
e2tools-3d14ba70a6e3164556a5f984bd7a183df8a1cd00.tar.xz
e2tools-3d14ba70a6e3164556a5f984bd7a183df8a1cd00.zip
Make e2tools compile without warnings (Fedora)
This is Fedora's e2tools-fedora-fixes.patch
Diffstat (limited to 'read.c')
-rw-r--r--read.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/read.c b/read.c
index e469ccb..d745c8f 100644
--- a/read.c
+++ b/read.c
@@ -9,9 +9,7 @@
*
*/
-static char rcsid[] = "$Id: read.c,v 0.2 2002/08/08 07:58:35 ksheff Exp $";
-
-static char copyright[] = "Copyright 2002 Keith W Sheffield";
+static char __attribute__ ((used)) copyright[] = "Copyright 2002 Keith W Sheffield";
#ifndef READ_C
#define READ_C
@@ -106,7 +104,6 @@ long
get_file(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd,
char *infile, char *outfile, int keep)
{
- int fd;
ext2_ino_t src;
int dest;
int retval;