mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 05:28:07 +02:00
dispatcher: make global data in "nm-dispatcher.c" static
It's not needed outside the source file, and lgtm.com complains that global variables should have a long name. Poor global variable name 'gl'. Prefer longer, descriptive names for globals (eg. kMyGlobalConstant, not foo).
This commit is contained in:
parent
f0fff996e2
commit
b615dd83da
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ typedef struct {
|
||||||
bool shutdown_quitting;
|
bool shutdown_quitting;
|
||||||
} GlobalData;
|
} GlobalData;
|
||||||
|
|
||||||
GlobalData gl;
|
static GlobalData gl;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Request *request;
|
Request *request;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue