aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-18 22:43:48 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-18 22:43:48 +0000
commitf54825cc243f068eba3250ea5ec8fdbdf970602a (patch)
tree5b9b6fbbc22609b7585e477353439e5fffd7a5bc /net.c
parent475dc65f6d33d8f457d5731c38618b0b3d4e127c (diff)
consolidate definition for tap script and smb support
Since the introduction of net.c in r5581 there had been 2 places where the location of the TAP helper scripts and SMB daemon are defined. The following patch move those definitions to net.h so they are accessible for net.c and vl.c but defined only once (Carlo Marcelo Arenas Belon) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6093 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.c')
-rw-r--r--net.c8
1 files changed, 0 insertions, 8 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;
/***********************************************************/