[PATCH 1/2] Staticise output names

Thierry Reding thierry.reding at gmail.com
Fri Nov 22 06:25:51 PST 2013


On Tue, Oct 29, 2013 at 11:41:53AM +0100, Thierry Reding wrote:
> This array isn't used anywhere outside this file, so it can be made
> static.
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
>  src/drmmode_display.c | 32 ++++++++++++++++----------------
>  1 file changed, 16 insertions(+), 16 deletions(-)

Ping? Can this be applied?

Thierry

> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 4fb4d21..8591e18 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -962,22 +962,22 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
>  				      SubPixelVerticalBGR,
>  				      SubPixelNone };
>  
> -const char *output_names[] = { "None",
> -			       "VGA",
> -			       "DVI",
> -			       "DVI",
> -			       "DVI",
> -			       "Composite",
> -			       "S-video",
> -			       "LVDS",
> -			       "CTV",
> -			       "DIN",
> -			       "DisplayPort",
> -			       "HDMI",
> -			       "HDMI",
> -			       "TV",
> -			       "eDP",
> -			       "Virtual"
> +static const char *output_names[] = { "None",
> +				      "VGA",
> +				      "DVI",
> +				      "DVI",
> +				      "DVI",
> +				      "Composite",
> +				      "S-video",
> +				      "LVDS",
> +				      "CTV",
> +				      "DIN",
> +				      "DisplayPort",
> +				      "HDMI",
> +				      "HDMI",
> +				      "TV",
> +				      "eDP",
> +				      "Virtual",
>  };
>  
>  static void
> -- 
> 1.8.4
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131122/504f0242/attachment.pgp>


More information about the xorg-devel mailing list