merge irix dmapi test changes
[xfstests-dev.git] / dmapi / src / suite1 / cmd / probe_hole.c
index 4c3f3bc40ea38d83b88d2d472eaf88ff04e469ec..779a0a229a998f5204b358ab4f4107c79c9c3787 100644 (file)
@@ -32,9 +32,9 @@
 
 #include <lib/hsm.h>
 
-#ifdef linux
+#include <getopt.h>
 #include <string.h>
-#endif
+
 
 /*---------------------------------------------------------------------------
 
@@ -62,8 +62,6 @@ char  *Progname;
 static void
 usage(void)
 {
-       int     i;
-
        fprintf(stderr, "usage:\t%s [-o offset] [-l length] "
                "[-s sid] pathname\n", Progname);
        exit(1);
@@ -85,7 +83,6 @@ main(
        size_t          hlen;
        char            *name;
        int             opt;
-       int             i;
 
        if (Progname = strrchr(argv[0], '/')) {
                Progname++;