diff options
-rw-r--r-- | filescan-utils.c | 2 | ||||
-rw-r--r-- | filescan-utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filescan-utils.c b/filescan-utils.c index 2ac67fd..a36969b 100644 --- a/filescan-utils.c +++ b/filescan-utils.c @@ -123,7 +123,7 @@ PUBLIC const char *GetBinderName() { return binderName; } -PUBLIC const char *GetBindingDirPath() +PUBLIC char *GetBindingDirPath() { // A file description should not be greater than 999.999.999 char fd_link[CONTROL_MAXPATH_LEN]; diff --git a/filescan-utils.h b/filescan-utils.h index 68df0fc..e17867e 100644 --- a/filescan-utils.h +++ b/filescan-utils.h @@ -47,7 +47,7 @@ typedef enum { PUBLIC const char *GetMidleName(const char*name); PUBLIC const char *GetBinderName(); PUBLIC json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const char *pre, const char *ext); -PUBLIC const char *GetBindingDirPath(); +PUBLIC char *GetBindingDirPath(); #ifdef __cplusplus |