maint: modernize/clean-up a small function in ls.c
commit280aa28c4dc82f394d423bfceaac29b5b48c3cd2
authorJim Meyering <meyering@redhat.com>
Wed, 18 Apr 2012 11:36:11 +0000 (18 13:36 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 19 Apr 2012 11:10:36 +0000 (19 13:10 +0200)
treeb48f06663e998a18a49b2235faf8e05ba574d107
parente50751d8458888ba639e80460b1a6a7ce33efe3a
maint: modernize/clean-up a small function in ls.c

* src/ls.c (make_link_name): Adjust comment style to refer to VARIABLE
names, not 'variable'.
Move each of two declarations "down" to first use.
Compare pointer to NULL, not to 0.
Don't reuse local, "linkbuf" for a different purpose.
src/ls.c