chiark / gitweb /
remove unneeded error.h includes
authorEmil Renner Berthing <systemd@esmil.dk>
Mon, 15 Sep 2014 13:29:18 +0000 (15:29 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 15 Sep 2014 15:02:25 +0000 (17:02 +0200)
These are the only two places where this glibc-specific
header is included. However none of the definitions in it
seem to be used, so just remove the includes.

src/notify/notify.c
src/path/path.c

index 6f1c52e3fb74de2f19c057318232b87fc185d8a4..33933e4bf62ba4a50eb0bb9adbf0ac7302c61929 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <stdio.h>
 #include <getopt.h>
-#include <error.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
index 347921a07e941999efe08ec4dbd46e5712df73e9..37f2571faba8d7bc2dc26c518547709c7f8d2a6d 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <stdio.h>
 #include <getopt.h>
-#include <error.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>