summaryrefslogtreecommitdiffstats
path: root/utils/utils.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-11-29 14:10:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-11-30 09:53:47 +0100
commit1542738826dd0ed26cfc8f5e2e37ffe80f1b9676 (patch)
tree7eb7a6bfdb7f4217449741942253c2115e6ad5d7 /utils/utils.h
parent501c6d70a6a7357652e2a4fb1ad5856d90bde29b (diff)
downloadunitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.tar
unitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.zip
Rename to unitd, clean up CMakeLists.txt
Diffstat (limited to 'utils/utils.h')
-rw-r--r--utils/utils.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/utils.h b/utils/utils.h
index c371678..6ab19ed 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -1,7 +1,9 @@
/*
+ * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
+ *
+ * Based on "procd" by:
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2013 John Crispin <blogic@openwrt.org>
- * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
@@ -13,8 +15,7 @@
* GNU General Public License for more details.
*/
-#ifndef __PROCD_UTILS_H
-#define __PROCD_UTILS_H
+#pragma once
#include <libubox/avl.h>
#include <libubox/blob.h>
@@ -53,5 +54,3 @@ void blobmsg_list_free(struct blobmsg_list *list);
bool blobmsg_list_equal(struct blobmsg_list *l1, struct blobmsg_list *l2);
void blobmsg_list_move(struct blobmsg_list *list, struct blobmsg_list *src);
char* get_cmdline_val(const char* name, char* out, int len);
-
-#endif