]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/pager: minor compiler warning fixes
authorSami Kerola <kerolasa@iki.fi>
Sat, 14 Jul 2012 21:16:28 +0000 (23:16 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:18:21 +0000 (18:18 +0200)
commit3b1d28792d84649a204940936a7bef8a4d7b9ddc
tree40e1ccdcee6bc5c7e7ed044fbae5a2794b3fc33a
parent18377246af628a3b7cfcd50cabcbfbe515cd3e1b
lib/pager: minor compiler warning fixes

Add missing function prototype, and declare structure before use of it.

lib/pager.c:162:6: warning: no previous prototype for function 'setup_pager' [-Wmissing-prototypes]
lib/pager.c:20:29: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct child_process' [-Wtentative-definition-incomplete-type]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lib/pager.c