From ae47397dc3a3410618418c5e646b7c6d100c072e Mon Sep 17 00:00:00 2001
From: Daniel Salzman <daniel.salzman@nic.cz>
Date: Thu, 11 Jul 2013 11:28:38 +0200
Subject: [PATCH] Remove unused define and reformat

---
 src/knot/knot.h | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/src/knot/knot.h b/src/knot/knot.h
index 775d998e5..0f517a966 100644
--- a/src/knot/knot.h
+++ b/src/knot/knot.h
@@ -30,34 +30,20 @@
 #include <signal.h>
 #include <stdint.h>
 
-/*
- * Common types and constants.
- */
-
-#define PID_FILE "knot.pid" /*!< \brief Server PID file name. */
-
-/*
- * Server.
- */
+#include "common/print.h"
+#include "common/log.h"
+#include "common/errcode.h"
+#include "knot/other/debug.h"
 
 #define CPU_ESTIMATE_MAGIC 0 /*!< \brief Extra threads to the number of cores.*/
 #define DEFAULT_THR_COUNT 2  /*!< \brief Default thread count. */
-#define TCP_BACKLOG_SIZE 10   /*!< \brief TCP listen backlog size. */
+#define TCP_BACKLOG_SIZE 10  /*!< \brief TCP listen backlog size. */
 #define XFR_THREADS_COUNT 3  /*!< \brief Number of threads for XFR handler. */
 #define RECVMMSG_BATCHLEN 64 /*!< \brief Define for recvmmsg() batch size. */
 
 ///*! \brief If defined, the statistics module will be enabled. */
 //#define STAT_COMPILE
 
-/*
- * Common includes.
- */
-
-#include "common/print.h"
-#include "common/log.h"
-#include "common/errcode.h"
-#include "knot/other/debug.h"
-
 /* Workarounds for clock_gettime() not available on some platforms. */
 #ifdef HAVE_CLOCK_GETTIME
 #define time_now(x) clock_gettime(CLOCK_MONOTONIC, (x))
-- 
GitLab