aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-01 20:12:13 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commitcd3d9986f40fd4e605ac2e8168512065439173e2 (patch)
tree72d0418cbd8b8b5c7e43880c68831819e12b1982 /src/attributes.h
parent1f09497ae009daade56c450e73bf6425b27cea24 (diff)
downloadserd-cd3d9986f40fd4e605ac2e8168512065439173e2.tar.gz
serd-cd3d9986f40fd4e605ac2e8168512065439173e2.tar.bz2
serd-cd3d9986f40fd4e605ac2e8168512065439173e2.zip
Split up public API header
Diffstat (limited to 'src/attributes.h')
-rw-r--r--src/attributes.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/attributes.h b/src/attributes.h
deleted file mode 100644
index 11c699f3..00000000
--- a/src/attributes.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2019-2023 David Robillard <d@drobilla.net>
-// SPDX-License-Identifier: ISC
-
-#ifndef SERD_SRC_ATTRIBUTES_H
-#define SERD_SRC_ATTRIBUTES_H
-
-#if defined(__GNUC__)
-# define SERD_LOG_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
-#else
-# define SERD_LOG_FUNC(fmt, arg1)
-#endif
-
-#ifdef __GNUC__
-# define SERD_MALLOC_FUNC __attribute__((malloc))
-#else
-# define SERD_MALLOC_FUNC
-#endif
-
-#ifdef __GNUC__
-# define SERD_NODISCARD __attribute__((warn_unused_result))
-#else
-# define SERD_NODISCARD
-#endif
-
-#endif // SERD_SRC_ATTRIBUTES_H