astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.03k stars 73 forks source link

make (some) file-scope identifiers static #119

Open guijan opened 3 years ago

guijan commented 3 years ago

According to grep -ER 'fil_names|fil_number|fil_current|fil_handle' . none of those are in use in other source files.

In theory all of the file-scope variables in this file should be static in the typical C style since there's no corresponding header, but I see that at least "dpy" is used elsewhere, so I didn't bother with that one and others before asking: are patches for code correctness and small style fixes accepted?