summaryrefslogtreecommitdiff
path: root/src/basic/errno-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/errno-list.c')
-rw-r--r--src/basic/errno-list.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/basic/errno-list.c b/src/basic/errno-list.c
index c568629f7..ee48332db 100644
--- a/src/basic/errno-list.c
+++ b/src/basic/errno-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
@@ -51,9 +52,5 @@ int errno_from_name(const char *name) {
assert(sc->id > 0);
return sc->id;
}
-
#if 0 /// UNNEEDED by elogind
-int errno_max(void) {
- return ELEMENTSOF(errno_names);
-}
#endif // 0