aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-23 19:35:31 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-24 10:29:40 +0100
commita26409574da61bf4edfb80f386b572b622453626 (patch)
tree5cbeefa484b15b6e7ac2145e0f287ee2238f2795 /pkg/subsystem
parent0e6628e0d76d6fd6ccb2f4966e144f13fdc68c5c (diff)
tools/syz-query-subsystems: restructure generation
Since all subsystem lists reside in one package, there might be name collisions between global variables. To avoid that, let's move all subsystem variable definitions into a function and call that function in the init() method. Also, adjust variable name generation: don't exclude digits at the beginning of the name, but rather prepend _ in that case.
Diffstat (limited to 'pkg/subsystem')
0 files changed, 0 insertions, 0 deletions