This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e9104db Include assert.h in necessary place
e9104db is described below
commit e9104dbbef526b70c7c5863a1b889672ce547b6a
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon May 31 19:49:09 2021 +0800
Include assert.h in necessary place
Signed-off-by: Xiang Xiao <[email protected]>
---
netutils/ftpd/ftpd.c | 3 ++-
netutils/webserver/httpd.c | 1 +
netutils/webserver/httpd_dirlist.c | 3 ++-
wireless/gs2200m/gs2200m_main.c | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/netutils/ftpd/ftpd.c b/netutils/ftpd/ftpd.c
index e791641..d6f5ac3 100644
--- a/netutils/ftpd/ftpd.c
+++ b/netutils/ftpd/ftpd.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * apps/netutils/ftpd.c
+ * apps/netutils/ftpd/ftpd.c
*
* Copyright (C) 2012, 2015, 2020 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <[email protected]>
@@ -58,6 +58,7 @@
#include <fcntl.h>
#include <poll.h>
#include <libgen.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>
diff --git a/netutils/webserver/httpd.c b/netutils/webserver/httpd.c
index 73d5bd6..0ffcbf8 100644
--- a/netutils/webserver/httpd.c
+++ b/netutils/webserver/httpd.c
@@ -56,6 +56,7 @@
#include <strings.h>
#include <unistd.h>
#include <string.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>
diff --git a/netutils/webserver/httpd_dirlist.c
b/netutils/webserver/httpd_dirlist.c
index 5fc2195..a20ab7e 100644
--- a/netutils/webserver/httpd_dirlist.c
+++ b/netutils/webserver/httpd_dirlist.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * netutils/webserver/httpd_dirlist.c
+ * apps/netutils/webserver/httpd_dirlist.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
+#include <assert.h>
#include <errno.h>
#include <debug.h>
#include <string.h>
diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index 2237368..f81bdec 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * apps/wireless/gs2200m_main.c
+ * apps/wireless/gs2200m/gs2200m_main.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <assert.h>
#include <debug.h>
#include <fcntl.h>
#include <errno.h>