From: Nicholas Nethercote Date: Sat, 18 Jun 2005 04:13:54 +0000 (+0000) Subject: Move VG_CLO_DEFAULT_LOGPORT to a better spot. X-Git-Tag: svn/VALGRIND_3_0_0~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c4e465cf75408adc1f75e12238929544ee50de1;p=thirdparty%2Fvalgrind.git Move VG_CLO_DEFAULT_LOGPORT to a better spot. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3932 --- diff --git a/auxprogs/valgrind-listener.c b/auxprogs/valgrind-listener.c index c8db19d854..a59b515e91 100644 --- a/auxprogs/valgrind-listener.c +++ b/auxprogs/valgrind-listener.c @@ -46,7 +46,7 @@ #include "core.h" #include "pub_core_libcassert.h" // For VG_BUGS_TO -#include "pub_core_options.h" // For VG_CLO_DEFAULT_LOGPORT +#include "pub_core_libcfile.h" // For VG_CLO_DEFAULT_LOGPORT /*---------------------------------------------------------------*/ diff --git a/coregrind/pub_core_libcfile.h b/coregrind/pub_core_libcfile.h index 84687b0556..740fa9574a 100644 --- a/coregrind/pub_core_libcfile.h +++ b/coregrind/pub_core_libcfile.h @@ -46,6 +46,10 @@ extern Int VG_(fd_hard_limit); extern Int VG_(safe_fd) ( Int oldfd ); extern Int VG_(fcntl) ( Int fd, Int cmd, Int arg ); +/* Default destination port to be used in logging over a network, if + none specified. */ +#define VG_CLO_DEFAULT_LOGPORT 1500 + extern Int VG_(write_socket)( Int sd, void *msg, Int count ); extern Int VG_(connect_via_socket)( UChar* str ); extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *namelen ); diff --git a/coregrind/pub_core_options.h b/coregrind/pub_core_options.h index bcdb0e42a8..36cd131b05 100644 --- a/coregrind/pub_core_options.h +++ b/coregrind/pub_core_options.h @@ -39,10 +39,6 @@ #include "pub_tool_options.h" -/* Default destination port to be used in logging over a network, if - none specified. */ -#define VG_CLO_DEFAULT_LOGPORT 1500 - /* The max number of suppression files. */ #define VG_CLO_MAX_SFILES 10