Mercurial > hg > early-roguelike
diff xrogue/network.h @ 220:f54901b9c39b
XRogue: convert to ANSI-style function declarations.
author | John "Elwin" Edwards |
---|---|
date | Wed, 02 Mar 2016 21:13:26 -0500 |
parents | e6179860cb76 |
children | 13b482bd9e66 |
line wrap: on
line diff
--- a/xrogue/network.h Fri Feb 19 21:02:28 2016 -0500 +++ b/xrogue/network.h Wed Mar 02 21:13:26 2016 -0500 @@ -30,6 +30,6 @@ char *rogue; }; extern struct network Network[]; -extern unsigned long netread(); -extern unsigned long netwrite(); +extern unsigned long netread(int *error, int size, FILE *stream); +extern int netwrite(unsigned long value, int size, FILE *stream);