lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 292 forks source link

Mark global variable as static #533

Closed eclipseo closed 4 years ago

eclipseo commented 4 years ago

GCC now defaults to -fno-common. As a result, global variable accesses are more efficient on various targets. In C, global variables with multiple tentative definitions now result in linker errors.

Fix #532

Signed-off-by: Robert-André Mauchin zebob.m@gmail.com

eclipseo commented 4 years ago

Tested in Fedora Rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=40889802