just include fcntl.h not sys/fcntl.h
[oweals/busybox.git] / archival / rpm2cpio.c
index 8316d2242338dab6b615c99f8eeed5421bc8de63..45a660113ce43832b4e2106d69fa82bb2bd5d249 100644 (file)
@@ -66,7 +66,7 @@ static void skip_header(int rpm_fd)
 }
 
 /* No getopt required */
-extern int rpm2cpio_main(int argc, char **argv)
+int rpm2cpio_main(int argc, char **argv)
 {
        struct rpm_lead lead;
        int rpm_fd;