diff --git a/meson.build b/meson.build index ee6f64c..6fcf00a 100644 --- a/meson.build +++ b/meson.build @@ -91,7 +91,7 @@ endif if get_option('enable-seccomp') and seccomp.found() build_dependencies += seccomp defines += '-DWITH_SECCOMP' - additional_sources += files('zathura/libsec.c') + additional_sources += files('zathura/seccomp-filters.c') endif # generate version header file diff --git a/zathura/links.c b/zathura/links.c index aa7d03a..cc6f4ac 100644 --- a/zathura/links.c +++ b/zathura/links.c @@ -15,7 +15,7 @@ #include "render.h" #ifdef WITH_SECCOMP -#include "libsec.h" +#include "seccomp-filters.h" #endif struct zathura_link_s { diff --git a/zathura/main.c b/zathura/main.c index 40aea4f..7b228c4 100644 --- a/zathura/main.c +++ b/zathura/main.c @@ -18,9 +18,8 @@ #ifdef WITH_SYNCTEX #include "synctex.h" #endif - #ifdef WITH_SECCOMP -#include "libsec.h" +#include "seccomp-filters.h" #endif /* Init locale */ diff --git a/zathura/libsec.c b/zathura/seccomp-filters.c similarity index 99% rename from zathura/libsec.c rename to zathura/seccomp-filters.c index 4c6f73a..ab57d8d 100644 --- a/zathura/libsec.c +++ b/zathura/seccomp-filters.c @@ -1,4 +1,4 @@ -#include "libsec.h" +#include "seccomp-filters.h" #include #ifdef WITH_SECCOMP diff --git a/zathura/libsec.h b/zathura/seccomp-filters.h similarity index 82% rename from zathura/libsec.h rename to zathura/seccomp-filters.h index 3b1af19..c2130fe 100644 --- a/zathura/libsec.h +++ b/zathura/seccomp-filters.h @@ -1,5 +1,5 @@ -#ifndef SECCOMP_H -#define SECCOMP_H +#ifndef ZATHURA_SECCOMP_FILTERS_H +#define ZATHURA_SECCOMP_FILTERS_H /* basic filter */ /* this mode allows normal use */