aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.c8
-rw-r--r--net.h8
-rw-r--r--vl.c8
3 files changed, 8 insertions, 16 deletions
diff --git a/net.c b/net.c
index c796035006..c49abef522 100644
--- a/net.c
+++ b/net.c
@@ -120,14 +120,6 @@
#define memalign(align, size) malloc(size)
#endif
-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#ifdef __sun__
-#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
-#else
-#define SMBD_COMMAND "/usr/sbin/smbd"
-#endif
-
static VLANState *first_vlan;
/***********************************************************/
diff --git a/net.h b/net.h
index 63ba7ed29b..31c7a308cd 100644
--- a/net.h
+++ b/net.h
@@ -85,4 +85,12 @@ void net_cleanup(void);
int slirp_is_inited(void);
void net_client_check(void);
+#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
+#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
+#ifdef __sun__
+#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
+#else
+#define SMBD_COMMAND "/usr/sbin/smbd"
+#endif
+
#endif
diff --git a/vl.c b/vl.c
index 66dd975f84..cd39c60f85 100644
--- a/vl.c
+++ b/vl.c
@@ -149,14 +149,6 @@
#include "exec-all.h"
-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#ifdef __sun__
-#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
-#else
-#define SMBD_COMMAND "/usr/sbin/smbd"
-#endif
-
//#define DEBUG_UNUSED_IOPORT
//#define DEBUG_IOPORT
//#define DEBUG_NET