summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-02-08 11:08:38 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-08-05 14:21:44 +0200
commitc93f4af0588d02c411d1526193ba1d63f76551b5 (patch)
tree416ae0d77979db6a3175dbca91296dc4c3dc56fe /tests/modetest
parentca9c8f06e0f560082dcd0943e9be29ba9a915ee3 (diff)
modetest: Remove extern declarations of opt(arg|ind|err|opt)
Those variables are declared in unistd.h, there's no need to redeclare them here. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index c9011141..585bacb9 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -835,8 +835,6 @@ set_mode(struct connector *c, int count, struct plane *p, int plane_count,
kms_destroy(&kms);
}
-extern char *optarg;
-extern int optind, opterr, optopt;
static char optstr[] = "ecpmfs:P:v";
#define min(a, b) ((a) < (b) ? (a) : (b))