mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
syslog: Add header file inclusion to eliminate a warning; mm/iob: private function needs static storage class.
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/sched.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct iob_qentry_s *iob_alloc_qcommitted(void)
|
||||
static FAR struct iob_qentry_s *iob_alloc_qcommitted(void)
|
||||
{
|
||||
FAR struct iob_qentry_s *iobq = NULL;
|
||||
irqstate_t flags;
|
||||
|
||||
Reference in New Issue
Block a user