mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work.
This commit is contained in:
@@ -216,8 +216,8 @@ int syslog_flush(void);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int _vsyslog(FAR const IPTR char *src, va_list ap);
|
||||
int _lowvsyslog(FAR const IPTR char *src, va_list ap);
|
||||
int _vsyslog(FAR const IPTR char *src, FAR va_list *ap);
|
||||
int _lowvsyslog(FAR const IPTR char *src, FAR va_list *ap);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user