move rpref enum definition up so that we can #ifndef SMALL a big block
authorflorian <florian@openbsd.org>
Thu, 6 Jul 2017 14:56:39 +0000 (14:56 +0000)
committerflorian <florian@openbsd.org>
Thu, 6 Jul 2017 14:56:39 +0000 (14:56 +0000)
sbin/slaacd/slaacd.h

index 3a418d4..3b78e6d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: slaacd.h,v 1.2 2017/06/06 13:57:23 florian Exp $      */
+/*     $OpenBSD: slaacd.h,v 1.3 2017/07/06 14:56:39 florian Exp $      */
 
 /*
  * Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -79,6 +79,12 @@ enum {
        PROC_FRONTEND
 } slaacd_process;
 
+enum rpref {
+       LOW,
+       MEDIUM,
+       HIGH,
+};
+
 struct ctl_engine_info {
        uint32_t                if_index;
        int                     running;
@@ -87,12 +93,6 @@ struct ctl_engine_info {
        struct sockaddr_in6     ll_address;
 };
 
-enum rpref {
-       LOW,
-       MEDIUM,
-       HIGH,
-};
-
 struct ctl_engine_info_ra {
        struct sockaddr_in6      from;
        struct timespec          when;