We don't use use this tool, lets remove old craft.
If someone wants to add this back it must have proper documentation and
integrated in the build system.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/sanlock.c | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/python/sanlock.c b/python/sanlock.c
index 7f0916a..7574141 100644
--- a/python/sanlock.c
+++ b/python/sanlock.c
@@ -14,31 +14,17 @@
#ifndef __unused
#define __unused __attribute__ ((unused))
#endif
-#ifdef WITH_CPYCHECKER_SETS_EXCEPTION_ATTRIBUTE
-#define __sets_exception \
- __attribute__((cpychecker_sets_exception))
-#else
-#define __sets_exception
-#endif
-
-#ifdef WITH_CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION_ATTRIBUTE
-#define __neg_sets_exception \
- __attribute__((cpychecker_negative_result_sets_exception))
-#else
-#define __neg_sets_exception
-#endif
-
#define MODULE_NAME "sanlock"
#define BIND_ERROR -1000
/* Functions prototypes */
-static void __set_exception(int en, char *msg) __sets_exception;
-static int __parse_resource(PyObject *obj, struct sanlk_resource **res_ret)
__neg_sets_exception;
+static void __set_exception(int en, char *msg);
+static int __parse_resource(PyObject *obj, struct sanlk_resource **res_ret);
static void set_error(PyObject *exception, const char* format, PyObject* obj);
/* Sanlock module */
PyDoc_STRVAR(pydoc_sanlock, "\
Copyright (C) 2010-2011 Red Hat, Inc. All rights reserved.\n\
--
2.17.2