[systemd-commits] src/notify src/path

David Herrmann dvdhrm at kemper.freedesktop.org
Mon Sep 15 08:02:43 PDT 2014


 src/notify/notify.c |    1 -
 src/path/path.c     |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 1acf16634912d8a35690fff9d7ad2bd0a91ce576
Author: Emil Renner Berthing <systemd at esmil.dk>
Date:   Mon Sep 15 15:29:18 2014 +0200

    remove unneeded error.h includes
    
    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.

diff --git a/src/notify/notify.c b/src/notify/notify.c
index 6f1c52e..33933e4 100644
--- a/src/notify/notify.c
+++ b/src/notify/notify.c
@@ -21,7 +21,6 @@
 
 #include <stdio.h>
 #include <getopt.h>
-#include <error.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
diff --git a/src/path/path.c b/src/path/path.c
index 347921a..37f2571 100644
--- a/src/path/path.c
+++ b/src/path/path.c
@@ -21,7 +21,6 @@
 
 #include <stdio.h>
 #include <getopt.h>
-#include <error.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>



More information about the systemd-commits mailing list