From 1542738826dd0ed26cfc8f5e2e37ffe80f1b9676 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 29 Nov 2015 14:10:00 +0100 Subject: Rename to unitd, clean up CMakeLists.txt --- utils/askfirst.c | 4 +++- utils/utils.c | 4 +++- utils/utils.h | 9 ++++----- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'utils') diff --git a/utils/askfirst.c b/utils/askfirst.c index cdd2883..cdb5074 100644 --- a/utils/askfirst.c +++ b/utils/askfirst.c @@ -1,7 +1,9 @@ /* + * Copyright (C) 2015 Matthias Schiffer + * + * Based on "procd" by: * Copyright (C) 2013 Felix Fietkau * Copyright (C) 2013 John Crispin - * Copyright (C) 2015 Matthias Schiffer * * 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 diff --git a/utils/utils.c b/utils/utils.c index 8dbbbd2..1f7d604 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -1,7 +1,9 @@ /* + * Copyright (C) 2015 Matthias Schiffer + * + * Based on "procd" by: * Copyright (C) 2013 Felix Fietkau * Copyright (C) 2013 John Crispin - * Copyright (C) 2015 Matthias Schiffer * * 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 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 + * + * Based on "procd" by: * Copyright (C) 2013 Felix Fietkau * Copyright (C) 2013 John Crispin - * Copyright (C) 2015 Matthias Schiffer * * 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 #include @@ -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 -- cgit v1.2.3