summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-04-09 17:22:07 -0700
committerGitHub <noreply@github.com>2021-04-09 17:22:07 -0700
commitf87f038c5f0821d0fefb01cea00bfdec6004da91 (patch)
treed948178e1c0d2dc459a976f0d187d2d41a5437c0 /src/include
parent550c49a7dd2b13ea29743458336f0c0a0fb6099a (diff)
Rename CVC4_ macros to CVC5_. (#6327)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cvc4_private.h6
-rw-r--r--src/include/cvc4_private_library.h6
-rw-r--r--src/include/cvc4_public.h28
3 files changed, 20 insertions, 20 deletions
diff --git a/src/include/cvc4_private.h b/src/include/cvc4_private.h
index a14c46bee..3fde5f54b 100644
--- a/src/include/cvc4_private.h
+++ b/src/include/cvc4_private.h
@@ -16,8 +16,8 @@
** warning when the file is included improperly.
**/
-#ifndef CVC4_PRIVATE_H
-#define CVC4_PRIVATE_H
+#ifndef CVC5_PRIVATE_H
+#define CVC5_PRIVATE_H
#if ! (defined(__BUILDING_CVC4LIB) || defined(__BUILDING_CVC4LIB_UNIT_TEST))
# error A private CVC4 header was included when not building the library or private unit test code.
@@ -27,4 +27,4 @@
#include "cvc4_public.h"
#include "cvc4autoconfig.h"
-#endif /* CVC4_PRIVATE_H */
+#endif /* CVC5_PRIVATE_H */
diff --git a/src/include/cvc4_private_library.h b/src/include/cvc4_private_library.h
index 9f5f18ab6..b80086809 100644
--- a/src/include/cvc4_private_library.h
+++ b/src/include/cvc4_private_library.h
@@ -16,8 +16,8 @@
** warning when the file is included improperly.
**/
-#ifndef CVC4_PRIVATE_LIBRARY_H
-#define CVC4_PRIVATE_LIBRARY_H
+#ifndef CVC5_PRIVATE_LIBRARY_H
+#define CVC5_PRIVATE_LIBRARY_H
#if !(defined(__BUILDING_CVC4LIB) || defined(__BUILDING_CVC4LIB_UNIT_TEST) \
|| defined(__BUILDING_CVC4PARSERLIB) \
@@ -29,4 +29,4 @@
#include "cvc4_public.h"
#include "cvc4autoconfig.h"
-#endif /* CVC4_PRIVATE_LIBRARY_H */
+#endif /* CVC5_PRIVATE_LIBRARY_H */
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