summaryrefslogtreecommitdiff
path: root/plugins/dfnet/dfnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfnet/dfnet.h')
-rw-r--r--plugins/dfnet/dfnet.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/plugins/dfnet/dfnet.h b/plugins/dfnet/dfnet.h
index 62f38425..4d8ae149 100644
--- a/plugins/dfnet/dfnet.h
+++ b/plugins/dfnet/dfnet.h
@@ -18,22 +18,8 @@
#include <netdb.h>
#include <unistd.h>
-#ifdef ENABLE_NLS
-#include <libintl.h>
-#include <locale.h>
-#define _(x) gettext(x)
-#define N_(x) (x)
-#else
-#define _(x) (x)
-#define N_(x) (x)
-#endif
-
-typedef void* HWND;
-
struct timeval tm;
-#define CALLBACK
-
long timeGetTime();
#include "psemu_plugin_defs.h"
@@ -42,9 +28,9 @@ typedef struct {
int PlayerNum;
unsigned short PortNum;
char ipAddress[32];
-} Config;
+} NetConfig;
-Config conf;
+NetConfig conf;
void LoadConf();
void SaveConf();