diff options
author | Thierry Reding <treding@nvidia.com> | 2014-02-19 12:27:00 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-02-19 13:35:08 +0100 |
commit | 8dd87c936286ac5182698ceb262e426546be01c6 (patch) | |
tree | b7327b3105c54121c133bb167770d672bffb8d48 | |
parent | c34a83e9627b355f5cbae90be2e90457be8267c0 (diff) |
Staticise and constify output names
This array isn't used anywhere outside this file, so it can be made
static. While at it, make the array const as well.
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 7311a1b..8ad3d99 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -848,7 +848,7 @@ static int subpixel_conv_table[7] = { SubPixelNone }; -const char *output_names[] = { +static const char * const output_names[] = { "None", "VGA", "DVI", |