]> git.proxmox.com Git - systemd.git/blobdiff - src/basic/errno-list.h
New upstream version 236
[systemd.git] / src / basic / errno-list.h
index 4eec0cc7869707380c5a7a44a7b6401aceb39f4e..4e9b75a7eafda798d855354e0b4d8c75cb910f65 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+/*
+ * MAX_ERRNO is defined as 4095 in linux/err.h
+ * We use the same value here.
+ */
+#define ERRNO_MAX 4095
+
 const char *errno_to_name(int id);
 int errno_from_name(const char *name);
-
-int errno_max(void);