diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-02-08 11:08:38 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-08-05 14:21:44 +0200 |
commit | c93f4af0588d02c411d1526193ba1d63f76551b5 (patch) | |
tree | 416ae0d77979db6a3175dbca91296dc4c3dc56fe /tests/modetest | |
parent | ca9c8f06e0f560082dcd0943e9be29ba9a915ee3 (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.c | 2 |
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)) |