Abridge a few overly verbose declarations

This commit is contained in:
Markus Armbruster 2013-01-13 13:19:37 +01:00
parent 199ea0cb39
commit 77f8846273
3 changed files with 4 additions and 8 deletions

View file

@ -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);

View file

@ -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)

View file

@ -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