summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-07 14:59:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-08 18:21:10 +0100
commit28db6fbff133ddec390f3df4aac897ee1bbcdcc9 (patch)
treeecae4d1fde05f894bd63f40a0b42656bb700cdec /src/portable
parentdb62f51a9f7bc881a0363b8f57c181808bb1d379 (diff)
downloadsystemd-28db6fbff133ddec390f3df4aac897ee1bbcdcc9.tar.gz
Rename def.h to constants.h
The name "def.h" originates from before the rule of "no needless abbreviations" was established. Let's rename the file to clarify that it contains a collection of various semi-related constants.
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/portable.c2
-rw-r--r--src/portable/portablectl.c2
-rw-r--r--src/portable/portabled.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c
index be906f786c..dd0f6d3d13 100644
--- a/src/portable/portable.c
+++ b/src/portable/portable.c
@@ -8,7 +8,7 @@
#include "conf-files.h"
#include "copy.h"
#include "data-fd-util.h"
-#include "def.h"
+#include "constants.h"
#include "dirent-util.h"
#include "discover-image.h"
#include "dissect-image.h"
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index d0d7bb1caf..ff71535c13 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -12,7 +12,7 @@
#include "bus-unit-util.h"
#include "bus-wait-for-jobs.h"
#include "chase-symlinks.h"
-#include "def.h"
+#include "constants.h"
#include "dirent-util.h"
#include "env-file.h"
#include "fd-util.h"
diff --git a/src/portable/portabled.c b/src/portable/portabled.c
index 2f9afdc8f2..a4fae65e7e 100644
--- a/src/portable/portabled.c
+++ b/src/portable/portabled.c
@@ -8,8 +8,8 @@
#include "alloc-util.h"
#include "bus-log-control-api.h"
#include "bus-polkit.h"
+#include "constants.h"
#include "daemon-util.h"
-#include "def.h"
#include "main-func.h"
#include "portabled-bus.h"
#include "portabled-image-bus.h"