mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Move the OS intensive part of vsyslog and vlowsyslog to drivers/syslog/vsyslog.c and vlowsyslog.c. Also move lib_syslogstrem to drivers/syslog/syslogstream.c
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@
|
||||
"up_assert","assert.h","","void","FAR const uint8_t*","int"
|
||||
#"up_assert","assert.h","","void"
|
||||
"vfork","unistd.h","defined(CONFIG_ARCH_HAVE_VFORK)","pid_t"
|
||||
"vsyslog","syslog.h","","int","int","FAR const IPTR char*","va_list"
|
||||
"_vsyslog","syslog.h","","int","FAR const IPTR char*","va_list"
|
||||
"wait","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","pid_t","int*"
|
||||
"waitid","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","int","idtype_t","id_t"," FAR siginfo_t *","int"
|
||||
"waitpid","sys/wait.h","defined(CONFIG_SCHED_WAITPID)","pid_t","pid_t","int*","int"
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 146 and column 2.
|
@@ -72,7 +72,6 @@
|
||||
#include <signal.h>
|
||||
#include <mqueue.h>
|
||||
#include <spawn.h>
|
||||
#include <syslog.h>
|
||||
#include <assert.h>
|
||||
|
||||
/* Errno access is awkward. We need to generate get_errno() and set_errno()
|
||||
|
||||
@@ -165,7 +165,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
||||
|
||||
/* System logging */
|
||||
|
||||
SYSCALL_LOOKUP(vsyslog, 3, STUB_vsyslog)
|
||||
SYSCALL_LOOKUP(_vsyslog, 2, STUB__vsyslog)
|
||||
|
||||
/* The following are defined if either file or socket descriptor are
|
||||
* enabled.
|
||||
|
||||
@@ -167,8 +167,7 @@ uintptr_t STUB_timer_settime(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
|
||||
/* System logging */
|
||||
|
||||
uintptr_t STUB_vsyslog(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
uintptr_t parm3);
|
||||
uintptr_t STUB__vsyslog(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
|
||||
/* The following are defined if either file or socket descriptor are
|
||||
* enabled.
|
||||
|
||||
Reference in New Issue
Block a user