From 77f8846273b156803ad7bc876c1d2188ca5f8804 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 13 Jan 2013 13:19:37 +0100 Subject: [PATCH] Abridge a few overly verbose declarations --- include/xy.h | 6 ++---- src/lib/subs/nreport.c | 3 +-- src/lib/update/anno.c | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/include/xy.h b/include/xy.h index 6002f23c0..d31cbf9ea 100644 --- a/include/xy.h +++ b/include/xy.h @@ -56,10 +56,8 @@ extern char *xyas(coord x, coord y, natid country); extern char *ownxy(struct sctstr *sp); extern coord xrel(struct natstr *np, coord absx); extern coord yrel(struct natstr *np, coord absy); -extern void xyrelrange(struct natstr *np, struct range *src, - struct range *dst); -extern void xyabsrange(struct natstr *np, struct range *src, - struct range *dst); +extern void xyrelrange(struct natstr *, struct range *, struct range *); +extern void xyabsrange(struct natstr *, struct range *, struct range *); extern void xydist_range(coord, coord, int, struct range *); extern void xysize_range(struct range *); extern coord strtox(char *str, char **end); diff --git a/src/lib/subs/nreport.c b/src/lib/subs/nreport.c index b1020b756..6cd7abd74 100644 --- a/src/lib/subs/nreport.c +++ b/src/lib/subs/nreport.c @@ -53,8 +53,7 @@ static struct newscache cache[MAXNOC][SLOTS]; static unsigned char cache_oldest[MAXNOC]; static int news_tail; -static struct newscache * -ncache(int actor, int event, int victim, int times); +static struct newscache *ncache(int, int, int, int); void nreport(natid actor, int event, natid victim, int times) diff --git a/src/lib/update/anno.c b/src/lib/update/anno.c index 42609e5de..44def4b35 100644 --- a/src/lib/update/anno.c +++ b/src/lib/update/anno.c @@ -44,8 +44,7 @@ #include "tel.h" #include "update.h" -static int copy_and_expire(FILE *annfp, FILE *tmpfp, - char *tmp_filename, time_t expiry_time); +static int copy_and_expire(FILE *, FILE *, char *, time_t); static int copy_sink(char *, size_t, void *); void -- 2.43.0