[openib-general] [PATCH] [TRIVIAL] libsdp: Change TS_ to OPENIB_
Hal Rosenstock
halr at voltaire.com
Wed Mar 9 02:42:22 PST 2005
libsdp: Change TS_ to OPENIB_
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Index: src/port.c
===================================================================
--- src/port.c (revision 1967)
+++ src/port.c (working copy)
@@ -398,7 +398,7 @@
int protocol
)
{
-#ifdef _TS_VERBOSE_PRELOAD
+#ifdef _OPENIB_VERBOSE_PRELOAD
FILE *fd;
#endif
struct sdp_socket_info *sdp_sock_info;
Index: src/socket.c
===================================================================
--- src/socket.c (revision 1967)
+++ src/socket.c (working copy)
@@ -55,7 +55,7 @@
#include <sdp_inet.h>
#if 0
-#define _TS_VERBOSE_PRELOAD
+#define _OPENIB_VERBOSE_PRELOAD
#endif
#define SOCKOP_socket 1
@@ -98,7 +98,7 @@
char *inet;
char **tenviron;
-#ifdef _TS_VERBOSE_PRELOAD
+#ifdef _OPENIB_VERBOSE_PRELOAD
FILE *fd;
#endif
/*
@@ -128,7 +128,7 @@
} /* if */
} /* if */
-#ifdef _TS_VERBOSE_PRELOAD
+#ifdef _OPENIB_VERBOSE_PRELOAD
fd = fopen("/tmp/libsdp.log.txt", "a+");
fprintf(fd, "SOCKET: <%s> domain <%d> type <%d> protocol <%d>\n",
Index: src/sdp_inet.h
===================================================================
--- src/sdp_inet.h (revision 1967)
+++ src/sdp_inet.h (working copy)
@@ -21,8 +21,8 @@
$Id$
*/
-#ifndef _TS_SDP_INET_H
-#define _TS_SDP_INET_H
+#ifndef _SDP_INET_H
+#define _SDP_INET_H
/*
* constants shared between user and kernel space.
@@ -30,4 +30,4 @@
#define AF_INET_SDP 26 /* SDP socket protocol family */
#define AF_INET_STR "AF_INET_SDP" /* SDP enabled environment variable */
-#endif /* _TS_SDP_INET_H */
+#endif /* _SDP_INET_H */
More information about the general
mailing list