From ae207c7bdb85ad1ffeaa33224fdceba4d3242028 Mon Sep 17 00:00:00 2001 From: fengzero Date: Thu, 31 Mar 2022 07:51:58 +0000 Subject: [PATCH] remove functions.h --- include/functions.h | 40 -------------------------------- package/create_neuron_sdk_deb.py | 2 -- 2 files changed, 42 deletions(-) delete mode 100644 include/functions.h diff --git a/include/functions.h b/include/functions.h deleted file mode 100644 index dbf7f202..00000000 --- a/include/functions.h +++ /dev/null @@ -1,40 +0,0 @@ -/** - * NEURON IIoT System for Industry 4.0 - * Copyright (C) 2020-2021 EMQ Technologies Co., Ltd All rights reserved. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - **/ - -#ifndef FUNCTIONS_H_ -#define FUNCTIONS_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Signal handling function - */ - -typedef void (*neu_signalStopHandler)(void); -void neu_setSignalHandler(neu_signalStopHandler stopHandler, - neu_boolean_t * Running); -void neu_setSignalIgnore(neu_word_t status); - -#ifdef __cplusplus -} -#endif - -#endif /* FUNCTIONS_H_ */ diff --git a/package/create_neuron_sdk_deb.py b/package/create_neuron_sdk_deb.py index 04db49f3..410066dd 100755 --- a/package/create_neuron_sdk_deb.py +++ b/package/create_neuron_sdk_deb.py @@ -51,8 +51,6 @@ rules.append(mkdeb.FileMap("../include/json/neu_json_tag.h", rules.append(mkdeb.FileMap("../include/json/neu_json_tty.h", "/usr/local/include/neuron/json/")) -rules.append(mkdeb.FileMap("../include/functions.h", - "/usr/local/include/neuron/")) rules.append(mkdeb.FileMap("../include/hash_table.h", "/usr/local/include/neuron/")) rules.append(mkdeb.FileMap("../include/idhash.h",