From 3f0e6f42c9ab756514445737b283011e7dfbc545 Mon Sep 17 00:00:00 2001 From: zimoch Date: Tue, 13 Dec 2011 15:51:10 +0000 Subject: [PATCH] for backward compatibility provide ellFree function in addition to macro --- ellFree-compat.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ellFree-compat.patch diff --git a/ellFree-compat.patch b/ellFree-compat.patch new file mode 100644 index 000000000..e11af195f --- /dev/null +++ b/ellFree-compat.patch @@ -0,0 +1,21 @@ +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.