summaryrefslogtreecommitdiff
path: root/tests
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-06-27 10:01:16 +0200
commit4254caf9b8867c7ceb40693a4c603a11210c50ed (patch)
tree0115782a1cfc9e340d3ef14c516775de6728e547 /tests
parent28fff480efe376b9783cdb6a4128036a2fb7c47e (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')
-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 47704db6..e0d7d72b 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))