renamed to ellFree-compat.patch

This commit is contained in:
zimoch
2011-12-13 15:51:41 +00:00
parent 3f0e6f42c9
commit 52eb581e52

View File

@@ -1,21 +0,0 @@
Index: src/libCom/ellLib/ellLib.c
===================================================================
RCS file: /cvs/G/EPICS/base-3.14.12/src/libCom/ellLib/ellLib.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ellLib.c
--- src/libCom/ellLib/ellLib.c 29 Nov 2010 10:38:07 -0000 1.1.1.1
+++ src/libCom/ellLib/ellLib.c 21 Jun 2011 07:37:04 -0000
@@ -282,6 +282,13 @@
pList->count = 0;
}
+/* for backward compatibility provide a function ellFree() in addition to macro */
+#undef ellFree
+void ellFree (ELLLIST *pList)
+{
+ ellFree2 (pList, free);
+}
+
/****************************************************************************
*
* This function verifies that the list is consistent.