The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8113e030f96fb29a6ea03d55377cb97725c20576

commit 8113e030f96fb29a6ea03d55377cb97725c20576
Author:     Jake Freeland <jf...@freebsd.org>
AuthorDate: 2023-09-01 02:49:07 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2023-09-28 15:51:52 +0000

    syslogd: Move fhead under filed struct declaration
    
    Reviewed by:    markj, emaste
    MFC after:      3 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D41360
---
 usr.sbin/syslogd/syslogd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 3e4dc25603b0..0f0a3cac1417 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -307,6 +307,10 @@ struct filed {
 #define        FFLAG_SYNC 0x01
 #define        FFLAG_NEEDSYNC  0x02
 };
+static STAILQ_HEAD(, filed) fhead =
+    STAILQ_HEAD_INITIALIZER(fhead);    /* Log files that we write to */
+static struct filed consfile;  /* Console */
+
 
 /*
  * Queue of about-to-be dead processes we should watch out for.
@@ -367,10 +371,6 @@ static const char *TypeNames[] = {
        "FORW",         "USERS",        "WALL",         "PIPE"
 };
 
-static STAILQ_HEAD(, filed) fhead =
-    STAILQ_HEAD_INITIALIZER(fhead);    /* Log files that we write to */
-static struct filed consfile;  /* Console */
-
 static int     Debug;          /* debug flag */
 static int     Foreground = 0; /* Run in foreground, instead of daemonizing */
 static int     resolve = 1;    /* resolve hostname */

Reply via email to