]> git.ipfire.org Git - thirdparty/util-linux.git/commit
whereis: update coding style
authorDavidlohr Bueso <dave@gnu.org>
Sun, 24 Jul 2011 15:11:19 +0000 (11:11 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Jul 2011 09:58:38 +0000 (11:58 +0200)
commit0b542a94c466be5b146bb9a6fda228944f3325aa
tree3431cdafcd6d6a21fbf2855b738cce3a6209d340
parent839c0259203b7048f6f560abf51dfbd216673d72
whereis: update coding style

Like most 20th century Berkeley code, it's horrible:
- declare global variables in only one place
- add static attribute where it belongs
- move funcion declarations so that it doesn't require defining them

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
misc-utils/whereis.c