From 2a87a8d2403d993a2ebd7a5381656f7ff564fb4c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 12 Jun 2016 12:06:34 +0200 Subject: [PATCH] include: Bury dead remnants of TREATIES and SAIL Left behind by commit a109de9 and commit dc73207, v4.3.33. While there, drop a declaration of nonexistent function xedit() that crept into commit afa65c8, v4.2.20. Signed-off-by: Markus Armbruster --- include/prototypes.h | 6 ------ include/ship.h | 1 - include/types.h | 1 - 3 files changed, 8 deletions(-) diff --git a/include/prototypes.h b/include/prototypes.h index f62b8dfa..45ab95aa 100644 --- a/include/prototypes.h +++ b/include/prototypes.h @@ -226,7 +226,6 @@ int togg(void); int torp(void); int trad(void); int tran(void); -int trea(void); int turn(void); int upda(void); int upgr(void); @@ -236,7 +235,6 @@ int wing(void); int wipe(void); int work(void); int xdump(void); -int xedit(void); int zdon(void); /* @@ -420,8 +418,6 @@ extern int commdamage(int, int, i_type); extern int detonate(struct nukstr *, coord, coord, int); /* disloan.c */ extern int disloan(int, struct lonstr *); -/* distrea.c */ -extern int distrea(int, struct trtstr *); /* fileinit.c */ extern void ef_init_srv(int); extern void ef_fin_srv(void); @@ -637,8 +633,6 @@ extern void takeover_ship(struct shpstr *, natid); extern void takeover_plane(struct plnstr *, natid); /* trdsub.c */ /* in trade.h */ -/* trechk.c */ -extern int trechk(natid, natid, int); /* whatitem.c */ /* in item.h */ /* wu.c */ diff --git a/include/ship.h b/include/ship.h index 36a01ca6..3e9d1f1f 100644 --- a/include/ship.h +++ b/include/ship.h @@ -45,7 +45,6 @@ #define SHP_TYPE_MAX 46 #define SHIP_MINEFF 20 -#define MAXSHPPATH 28 #define MAXSHPNAMLEN 24 struct shpstr { diff --git a/include/types.h b/include/types.h index 92b807ac..e1cda7fe 100644 --- a/include/types.h +++ b/include/types.h @@ -58,7 +58,6 @@ struct shiplist; struct shpstr; struct symbol; struct trdstr; -struct trtstr; struct comstr; struct cmndstr; struct ulist;