syslog: Make g_default_channel as static

This commit is contained in:
Xiang Xiao
2020-02-24 11:10:49 +08:00
committed by Gregory Nutt
parent 46e22d7fd9
commit 1d339eb80c
2 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -58,15 +58,11 @@ extern "C"
#define EXTERN extern
#endif
/* The default SYSLOG channel */
struct syslog_channel_s; /* Forward reference */
EXTERN const struct syslog_channel_s g_default_channel;
/* This is the current syslog channel in use. It initially points to
* g_default_channel.
*/
struct syslog_channel_s; /* Forward reference */
EXTERN FAR const struct syslog_channel_s *g_syslog_channel;
/****************************************************************************