]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-replace-var.c
test-process-util: add (void) cast to make coverity happy
[thirdparty/systemd.git] / src / test / test-replace-var.c
index b1d42d77fd95add611f5899d3c9f28404ca0e651..56ce99e7ac04bab98cdaa42af85fd63ff5aeb966 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
 
 #include <string.h>
 
-#include "util.h"
 #include "macro.h"
 #include "replace-var.h"
+#include "string-util.h"
+#include "util.h"
 
 static char *lookup(const char *variable, void *userdata) {
-        return strjoin("<<<", variable, ">>>", NULL);
+        return strjoin("<<<", variable, ">>>");
 }
 
 int main(int argc, char *argv[]) {