merge irix dmapi test changes
[xfstests-dev.git] / dmapi / src / suite2 / src / test_dmattr.c
index fa8a6a89999fae52eee5f467ee672ac67a0000a8..88c430fe638210605665fb5ee538e9d658ae3922 100644 (file)
@@ -38,9 +38,9 @@
 #include <lib/hsm.h>
 #include <lib/errtest.h>
 
-#ifdef linux
+#include <getopt.h>
 #include <string.h>
-#endif
+
 
 /*---------------------------------------------------------------------------
 Automated test of the DMAPI functions: 
@@ -80,8 +80,6 @@ char  *Progname;
 static void
 usage(void)
 {
-       int     i;
-
        fprintf(stderr, "usage:\t%s [-v] [-n number] [-l length] "
                "[-s sid] ls_path pathname\n", Progname);
        exit(1);