relations: New enum relations

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-31 14:54:21 +01:00
parent f88365e762
commit 0b05f11d28
9 changed files with 32 additions and 25 deletions

View file

@ -41,10 +41,10 @@
#include "update.h"
void
setrel(natid us, natid them, int rel)
setrel(natid us, natid them, enum relations rel)
{
struct natstr *mynp = getnatp(us);
int oldrel;
enum relations oldrel;
char *whichway;
int n_up = 0;
int n_down = 0;