syslog: Add header file inclusion to eliminate a warning; mm/iob: private function needs static storage class.

This commit is contained in:
Gregory Nutt 2017-05-16 12:26:23 -06:00
parent 6a3800f611
commit 5ce2ece134
2 changed files with 3 additions and 1 deletions

View File

@ -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>

View File

@ -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;