+* [Bug 796] Clean up duplicate #defines in ntp_control.c.
* [Bug 569] Use the correct precision for the Leitch CSD-5300.
* [Bug 795] Moved declaration of variable to top of function.
* [Bug 798] ntpq [p typo crashes ntpq/ntpdc.
/*
* Structure to hold request procedure information
*/
-#define NOAUTH 0
-#define AUTH 1
-
-#define NO_REQUEST (-1)
struct ctl_proc {
short control_code; /* defined request code */
+#define NO_REQUEST (-1)
u_short flags; /* flags word */
+ /* Only one flag. Authentication required or not. */
+#define NOAUTH 0
+#define AUTH 1
void (*handler) (struct recvbuf *, int); /* handle request */
};
-/*
- * Only one flag. Authentication required or not.
- */
-#define NOAUTH 0
-#define AUTH 1
/*
* Request processing routines