summaryrefslogtreecommitdiff
path: root/src/include/cvc4_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cvc4_public.h')
-rw-r--r--src/include/cvc4_public.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/cvc4_public.h b/src/include/cvc4_public.h
index 8dd164120..6e50120fd 100644
--- a/src/include/cvc4_public.h
+++ b/src/include/cvc4_public.h
@@ -16,29 +16,29 @@
** the libraries and driver binary, and also exported to the user.
**/
-#ifndef CVC4_PUBLIC_H
-#define CVC4_PUBLIC_H
+#ifndef CVC5_PUBLIC_H
+#define CVC5_PUBLIC_H
#include <stddef.h>
#include <stdint.h>
-// CVC4_UNUSED is to mark something (e.g. local variable, function)
+// CVC5_UNUSED is to mark something (e.g. local variable, function)
// as being _possibly_ unused, so that the compiler generates no
// warning about it. This might be the case for e.g. a variable
// only used in DEBUG builds.
#ifdef __GNUC__
-# define CVC4_UNUSED __attribute__((__unused__))
-# define CVC4_NORETURN __attribute__ ((__noreturn__))
-# define CVC4_CONST_FUNCTION __attribute__ ((__const__))
-# define CVC4_PURE_FUNCTION __attribute__ ((__pure__))
-# define CVC4_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))
+#define CVC5_UNUSED __attribute__((__unused__))
+#define CVC5_NORETURN __attribute__((__noreturn__))
+#define CVC5_CONST_FUNCTION __attribute__((__const__))
+#define CVC5_PURE_FUNCTION __attribute__((__pure__))
+#define CVC5_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
#else /* ! __GNUC__ */
-# define CVC4_UNUSED
-# define CVC4_NORETURN
-# define CVC4_CONST_FUNCTION
-# define CVC4_PURE_FUNCTION
-# define CVC4_WARN_UNUSED_RESULT
+#define CVC5_UNUSED
+#define CVC5_NORETURN
+#define CVC5_CONST_FUNCTION
+#define CVC5_PURE_FUNCTION
+#define CVC5_WARN_UNUSED_RESULT
#endif /* __GNUC__ */
-#endif /* CVC4_PUBLIC_H */
+#endif /* CVC5_PUBLIC_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback