[openib-general] [PATCH TRIVIAL] opensm: remove #ifdef __WIN__ in not shared file.
Sasha Khapyorsky
sashak at voltaire.com
Thu Feb 8 15:14:12 PST 2007
opensm/main.c is not shared by win OpenSM, and #ifdef __WIN__ is not
needed here.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
osm/opensm/main.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/osm/opensm/main.c b/osm/opensm/main.c
index 69c940c..fa09360 100644
--- a/osm/opensm/main.c
+++ b/osm/opensm/main.c
@@ -65,10 +65,6 @@ static volatile unsigned int osm_usr1_flag = 0;
#define GUID_ARRAY_SIZE 64
#define INVALID_GUID (0xFFFFFFFFFFFFFFFFULL)
-#ifdef __WIN__
-#define block_signals()
-#define setup_signals()
-#else
static void mark_exit_flag(int signum)
{
if(!osm_exit_flag)
@@ -119,7 +115,6 @@ static void setup_signals()
#endif
pthread_sigmask(SIG_SETMASK, &saved_sigset, NULL);
}
-#endif /* __WIN__ */
/**********************************************************************
**********************************************************************/
--
1.5.0.rc2.g11a3
More information about the general
mailing list