summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/seccomp.h.in2
-rw-r--r--src/api.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index 2a789d6..03973a4 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -299,7 +299,7 @@ const struct scmp_version *seccomp_version(void);
* support for the SCMP_ACT_LOG action
*
*/
-const unsigned int seccomp_api_get(void);
+unsigned int seccomp_api_get(void);
/**
* Set the library's level of API support
diff --git a/src/api.c b/src/api.c
index e1a5e8b..8159abe 100644
--- a/src/api.c
+++ b/src/api.c
@@ -120,7 +120,7 @@ API const struct scmp_version *seccomp_version(void)
}
/* NOTE - function header comment in include/seccomp.h */
-API const unsigned int seccomp_api_get(void)
+API unsigned int seccomp_api_get(void)
{
/* update the api level, if needed */
return _seccomp_api_update();