mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +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 <nuttx/config.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/sched.h>
|
#include <nuttx/sched.h>
|
||||||
#include <nuttx/syslog/syslog.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;
|
FAR struct iob_qentry_s *iobq = NULL;
|
||||||
irqstate_t flags;
|
irqstate_t flags;
|
||||||
|
|||||||
Reference in New Issue
Block a user