aboutsummaryrefslogtreecommitdiffstats
path: root/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'network.h')
-rw-r--r--network.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/network.h b/network.h
index 386221a..fd0ea6f 100644
--- a/network.h
+++ b/network.h
@@ -7,25 +7,6 @@
#include <stdio.h>
-#ifndef WIN32
-/* Sane systems */
-
-typedef FILE * netcon_t;
-# define fgets_network fgets
-# define fputs_network fputs
-# define fclose_network fclose
-
-#else /* WIN32 */
-
-struct netcon;
-typedef struct netcon *netcon_t;
-
-int fputs_network(const char *, netcon_t);
-char *fgets_network(char *, int, netcon_t);
-int fclose_network(netcon_t);
-
-#endif /* WIN32 */
-
-netcon_t fopen_network(const char *name, int port, int is_write);
+FILE *fopen_network(const char *name, int port, int is_write);
#endif /* NETWORK_H */