chiark / gitweb /
remove unused includes
[elogind.git] / src / test / test-loopback.c
index ab330ac84066e7ed488671af820e1249ce5d247a..c03bda43829ec91b1af66bb6bb48e5cc6e2a9c01 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <errno.h>
 #include <string.h>
 #include <stdio.h>
-#include <fcntl.h>
 
 #include "loopback-setup.h"
-#include "util.h"
+#include "log.h"
 
 int main(int argc, char* argv[]) {
         int r;
 
+        log_open();
+        log_parse_environment();
+
         if ((r = loopback_setup()) < 0)
                 fprintf(stderr, "loopback: %s\n", strerror(-r));