diff options
-rw-r--r-- | daemon/Makefile | 1 | ||||
-rw-r--r-- | ui_viewer/ui_viewer_utils.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/daemon/Makefile b/daemon/Makefile index 3646e98..8af111f 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -197,6 +197,7 @@ endif # NSP_SUPPORT ifeq ($(WSI_SUPPORT),y) SRC_C += wsi.c LDFLAGS += -lwebsockets -ljson-c + CFLAGS += -Wno-deprecated-declarations CFLAGS += -DWSI_SUPPORT GENERATED_WSI_PROF_H = include/generated/wsi_prof.h GENERATED_HEADERS += $(GENERATED_WSI_PROF_H) diff --git a/ui_viewer/ui_viewer_utils.c b/ui_viewer/ui_viewer_utils.c index 0623a9f..7af1499 100644 --- a/ui_viewer/ui_viewer_utils.c +++ b/ui_viewer/ui_viewer_utils.c @@ -48,7 +48,6 @@ struct temp_file_t { char *name; }; -static const ssize_t TMP_BUF_SIZE = 262144; static const char log_filename[] = "/tmp/uilib.log"; static pthread_mutex_t log_lock = PTHREAD_MUTEX_INITIALIZER; static pid_t gPid = -1; |