From 42bb66038ca7d378c9a248f4e9d853081bcdf0da Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 18 Jun 2016 14:03:38 +0200 Subject: [PATCH] include: Merge distribute.h into update.h Signed-off-by: Markus Armbruster --- include/distribute.h | 39 ------------------------------------- include/update.h | 3 +++ src/lib/update/distribute.c | 1 - src/lib/update/finish.c | 1 - 4 files changed, 3 insertions(+), 41 deletions(-) delete mode 100644 include/distribute.h diff --git a/include/distribute.h b/include/distribute.h deleted file mode 100644 index 0d809107..00000000 --- a/include/distribute.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Empire - A multi-player, client/server Internet based war game. - * Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak, - * Ken Stevens, Steve McClure, Markus Armbruster - * - * Empire is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - * --- - * - * See files README, COPYING and CREDITS in the root of the source - * tree for related information and legal notices. It is expected - * that future projects/authors will amend these files as needed. - * - * --- - * - * distribute.h: Definitions for distribution stuff - * - * Known contributors to this file: - * - */ - -#ifndef DISTRIBUTE_H -#define DISTRIBUTE_H - -#define IMPORT 0 -#define EXPORT 1 - -#endif diff --git a/include/update.h b/include/update.h index 97982430..7ff03d9e 100644 --- a/include/update.h +++ b/include/update.h @@ -36,6 +36,9 @@ #include "sect.h" +#define IMPORT 0 +#define EXPORT 1 + #define SCT_EFFIC (SCT_TYPE_MAX + 1) #define SCT_MAINT (SCT_TYPE_MAX + 2) #define SCT_BUDG_MAX SCT_MAINT diff --git a/src/lib/update/distribute.c b/src/lib/update/distribute.c index 4d659a6c..6f0bfa7b 100644 --- a/src/lib/update/distribute.c +++ b/src/lib/update/distribute.c @@ -34,7 +34,6 @@ #include -#include "distribute.h" #include "file.h" #include "item.h" #include "optlist.h" diff --git a/src/lib/update/finish.c b/src/lib/update/finish.c index 668a261e..4fca7a09 100644 --- a/src/lib/update/finish.c +++ b/src/lib/update/finish.c @@ -37,7 +37,6 @@ #include #include -#include "distribute.h" #include "file.h" #include "nat.h" #include "optlist.h"