chiark / gitweb /
Prep v224: Cleaned up src/basic/util.[ch]
[elogind.git] / src / shared / seccomp-util.c
index d73a74912e385385c8ad808cb61a0835a380d9f8..46cecc8e2fc17c4200145a89a5de53f5b71ed5af 100644 (file)
@@ -40,6 +40,8 @@ const char* seccomp_arch_to_string(uint32_t c) {
         return NULL;
 }
 
+/// UNNEEDED by elogind
+#if 0
 int seccomp_arch_from_string(const char *n, uint32_t *ret) {
         if (!n)
                 return -EINVAL;
@@ -61,6 +63,7 @@ int seccomp_arch_from_string(const char *n, uint32_t *ret) {
 
         return 0;
 }
+#endif // 0
 
 int seccomp_add_secondary_archs(scmp_filter_ctx *c) {