diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-04-08 21:55:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-09 16:17:23 +0200 |
commit | 7b697f098d8a438b0e2750a46980781d2198e94f (patch) | |
tree | 77a91fb01ceea07341788681657903bedb2cc287 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2fa087e0ae72e39e256c12642ee870da1fdf1164 (diff) |
staging: rtl8188eu: move static array from .h to .c
Declaring a static array in a header file is likely to cause name conflicts
if the declaration is pulled in multiple times.
The rtl8188 driver protects the declaration of the wlancmds array in
rtw_mlme_ext.h with ifdef _RTW_CMD_C_, which is defined only in rtw_cmd.c.
It makes more sense to declare the array in the .c file.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210408195601.4762-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions