From: Miroslav Lichvar Date: Thu, 26 Jun 2014 15:15:50 +0000 (+0200) Subject: cmdmon: remove disabled code X-Git-Tag: 1.30~18 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c62afbe77b704fe5b70531f8870ba0500adb033e;p=thirdparty%2Fchrony.git cmdmon: remove disabled code --- diff --git a/cmdmon.c b/cmdmon.c index 211a4f3a..738dbbd4 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -667,46 +667,6 @@ token_acknowledged(unsigned long token, struct timeval *now) /* ================================================== */ -#if 0 -/* These two routines are not legal if the program is operating as a daemon, since - stderr is no longer open */ - -static void -print_command_packet(CMD_Request *pkt, int length) -{ - unsigned char *x; - int i; - x = (unsigned char *) pkt; - for (i=0; istatus = htons(STT_SUCCESS); } -/* ================================================== */ - -#if 0 -/* ================================================== */ - -static void -handle_(CMD_Request *rx_message, CMD_Reply *tx_message) -{ - int status; -} - - -#endif - /* ================================================== */ /* Read a packet and process it */