mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 15:08:05 +02:00
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>
This commit is contained in:
parent
ca9c8f06e0
commit
c93f4af058
1 changed files with 0 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue