chiark / gitweb /
Prep v221: Update and clean up build system to sync with upstream
[elogind.git] / src / basic / errno-list.c
similarity index 97%
rename from src/shared/errno-list.c
rename to src/basic/errno-list.c
index 34d1331486bec218f066efb33a8f0c384dbce023..fff37eb3e8438717d5c668b15c9d6eda899a597d 100644 (file)
@@ -53,6 +53,9 @@ int errno_from_name(const char *name) {
         return sc->id;
 }
 
+/// UNNEEDED by elogind
+#if 0
 int errno_max(void) {
         return ELEMENTSOF(errno_names);
 }
+#endif // 0