]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-events: don't use extern inside a C file
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Jul 2024 15:40:17 +0000 (17:40 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Jul 2024 15:41:28 +0000 (17:41 +0200)
commit99ef0f0ac36021d9005f6b4079772d33213c0598
tree9e9f8aaee2d941dede3cc1c6ee9a98dd6ef8f1ab
parent86aabc578ed6abc00a5f0223d738cdd2ccd18bef
ras-events: don't use extern inside a C file

Fix a checkpatch warning:

ras-events.c:66: WARNING:AVOID_EXTERNS: externs should be avoided in .c files

by better handing how checks_inside var is handled.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
ras-events.c
ras-events.h
rasdaemon.c