modetest: Remove extern declarations of opt(arg|ind|err|opt)
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 8 Feb 2013 10:08:38 +0000 (11:08 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 5 Aug 2013 12:21:44 +0000 (14:21 +0200)
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>
tests/modetest/modetest.c

index c901114..585bacb 100644 (file)
@@ -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))