From 1c9d8e43ae2d388c8b4e25f9ee55bbe7294af814 Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Thu, 4 Sep 2008 10:17:05 +0000 Subject: Update to version 2.5. PR: 127028 Submitted by: Yi-Jheng Lin --- net/clusterit/files/patch-dsh-dsh.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 net/clusterit/files/patch-dsh-dsh.c (limited to 'net/clusterit/files/patch-dsh-dsh.c') diff --git a/net/clusterit/files/patch-dsh-dsh.c b/net/clusterit/files/patch-dsh-dsh.c deleted file mode 100644 index 4ef10aaf29d9..000000000000 --- a/net/clusterit/files/patch-dsh-dsh.c +++ /dev/null @@ -1,34 +0,0 @@ ---- dsh/dsh.c.orig Tue Jul 6 12:49:37 2004 -+++ dsh/dsh.c Tue Jul 6 12:53:51 2004 -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - - #include - #include -@@ -76,6 +77,11 @@ - { - extern char *optarg; - extern int optind; -+#if __FreeBSD_version < 500000 -+ extern char *malloc_options; -+#else -+ extern const char *_malloc_options; -+#endif - - int someflag, ch, i, fanout, showflag, fanflag; - char *p, *q, *group, *nodename, *username; -@@ -93,6 +99,11 @@ - nodeptr = NULL; - nodelink = NULL; - -+#if __FreeBSD_version < 500000 -+ malloc_options = "Z"; -+#else -+ _malloc_options = "Z"; -+#endif - rungroup = malloc(sizeof(char **) * GROUP_MALLOC); - if (rungroup == NULL) - bailout(__LINE__); -- cgit v1.2.3