From 016045b222d505eabe61227a948b0afd5f290124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= <adrien@gallouet.fr>
Date: Wed, 28 Feb 2018 21:47:38 +0000
Subject: [PATCH] Code cleanup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
---
 src/common.h | 7 +++++++
 src/main.c   | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/common.h b/src/common.h
index ecb9a52..01bcca0 100644
--- a/src/common.h
+++ b/src/common.h
@@ -63,3 +63,10 @@ int gt_fromhex (uint8_t *, size_t, const char *, size_t);
 void     gt_set_port (struct sockaddr *, uint16_t);
 uint16_t gt_get_port (struct sockaddr *);
 int      gt_toaddr   (char *, size_t, struct sockaddr *);
+
+int gt_show   (int, char **);
+int gt_bind   (int, char **);
+int gt_path   (int, char **);
+int gt_keygen (int, char **);
+int gt_bench  (int, char **);
+int gt_set    (int, char **);
diff --git a/src/main.c b/src/main.c
index eede535..b96be12 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,13 +50,6 @@ gt_version(int argc, char **argv)
     return 0;
 }
 
-int gt_show(int, char **);
-int gt_bind(int, char **);
-int gt_path(int, char **);
-int gt_keygen(int, char **);
-int gt_bench(int, char **);
-int gt_set(int, char **);
-
 int
 main(int argc, char **argv)
 {