[Skiboot] [PATCH 03/25] sparse: declare proc_chip_quirks as extern

Stewart Smith stewart at linux.vnet.ibm.com
Wed Apr 22 13:41:38 AEST 2015


Cédric Le Goater <clg at fr.ibm.com> writes:
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
> ---
>  include/chip.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/chip.h b/include/chip.h
> index ae0902f7a06c..c3eb9d6666e3 100644
> --- a/include/chip.h
> +++ b/include/chip.h
> @@ -90,7 +90,7 @@ enum proc_chip_type {
>  };
>
>  /* Simulator quirks */
> -enum proc_chip_quirks {
> +extern enum proc_chip_quirks {
>  	QUIRK_NO_CHIPTOD	= 0x00000001,
>  	QUIRK_MAMBO_CALLOUTS	= 0x00000002,
>  	QUIRK_NO_F000F		= 0x00000004,

(going through some old patches)

Why should this be extern?



More information about the Skiboot mailing list