summaryrefslogtreecommitdiffstats
path: root/service/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'service/service.h')
-rw-r--r--service/service.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/service/service.h b/service/service.h
index e346058..2b6071c 100644
--- a/service/service.h
+++ b/service/service.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_SERVICE_H
-#define __PROCD_SERVICE_H
+#pragma once
#include <libubox/avl.h>
#include <libubox/vlist.h>
@@ -39,5 +40,3 @@ struct service {
int service_start_early(char *name, char *cmdline);
void service_init(void);
void service_event(const char *type, const char *service, const char *instance);
-
-#endif