]> granicus.if.org Git - procps-ng/commitdiff
library: remove unused includes in nsutils.c
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 6 Jul 2014 14:10:34 +0000 (16:10 +0200)
committerJaromir Capik <jcapik@redhat.com>
Tue, 26 Aug 2014 13:24:34 +0000 (15:24 +0200)
The <stdio_ext.h> include breaks building on platforms without that header and is unused in nsutils.c.

Also remove unused but harmless <error.h> include.

lib/nsutils.c

index 8c74754fb1becd13ad709da786d767006fdeae5f..5dcd834840f8eabd7c7c39c882b48559a849d546 100644 (file)
@@ -1,6 +1,4 @@
 #include <errno.h>
-#include <error.h>
-#include <stdio_ext.h>
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>