Files
epics-base/ellFree-compat.patch

22 lines
703 B
Diff
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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.