aboutsummaryrefslogtreecommitdiffstats
path: root/filescan-utils.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-09 11:59:19 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commit844042f3f8c523e42b721670cea971301ea18fde (patch)
treee72c181c4fbd62ac450cf495d8b689a5da8fdc24 /filescan-utils.c
parentb8f8b83fde488ca637a57af0d369b0a7ec38465f (diff)
Formating
Change-Id: I16ee9154f4f5a7e71af83a22899a94f00e07aa79 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'filescan-utils.c')
-rw-r--r--filescan-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/filescan-utils.c b/filescan-utils.c
index 8b70d69..d590aab 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -27,7 +27,7 @@
#include "filescan-utils.h"
// List Avaliable Configuration Files
-PUBLIC json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const char *pre, const char *ext) {
+json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const char *pre, const char *ext) {
json_object *responseJ;
char *dirPath;
char* dirList= strdup(searchPath);
@@ -95,7 +95,7 @@ PUBLIC json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode,
return (responseJ);
}
-PUBLIC const char *GetMidleName(const char*name) {
+const char *GetMidleName(const char*name) {
char *fullname = strdup(name);
for (int idx = 0; fullname[idx] != '\0'; idx++) {
@@ -114,7 +114,7 @@ PUBLIC const char *GetMidleName(const char*name) {
return "";
}
-PUBLIC const char *GetBinderName() {
+const char *GetBinderName() {
static char *binderName=NULL;
if (binderName) return binderName;
@@ -131,7 +131,7 @@ PUBLIC const char *GetBinderName() {
}
#ifndef USE_API_DYN
-PUBLIC char *GetBindingDirPath()
+char *GetBindingDirPath()
{
// A file description should not be greater than 999.999.999
char fd_link[CONTROL_MAXPATH_LEN];