]> granicus.if.org Git - procps-ng/commitdiff
lib/fileutils: fix compiler warnings
authorSami Kerola <kerolasa@iki.fi>
Fri, 2 Nov 2012 17:50:53 +0000 (17:50 +0000)
committerCraig Small <csmall@enc.com.au>
Tue, 6 Nov 2012 11:28:30 +0000 (22:28 +1100)
./lib/fileutils.c:9:5: warning: no previous declaration for 'close_stream' [-Wmissing-declarations]
./lib/fileutils.c:23:6: warning: no previous declaration for 'close_stdout' [-Wmissing-declarations]

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

index b47a9cf7fedceb77a53131700cdb5a174207ad4a..fe56cb815fcbf5264467d52a69f1d6e981c5ab63 100644 (file)
@@ -5,6 +5,7 @@
 #include <unistd.h>
 
 #include "nls.h"
+#include "fileutils.h"
 
 int close_stream(FILE * stream)
 {