]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/nreport.c
Update copyright notice
[empserver] / src / lib / subs / nreport.c
index c6797b880333069175e66c16fcdda6964428cc46..b1b6e93b6103fb8c1e581823fc27e286eeb96137 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2015, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -35,6 +35,7 @@
 
 #include <config.h>
 
+#include "chance.h"
 #include "file.h"
 #include "nat.h"
 #include "news.h"
@@ -52,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)