chiark / gitweb /
Prep v238: Uncomment now needed headers and unmask now needed functions in src/basic...
[elogind.git] / src / basic / errno-list.h
index 0f87161605e409317bd39473f54e141a38e570fb..38beaf96dd80f7ebfe7d626d0054a9a34f40833a 100644 (file)
@@ -20,7 +20,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-//#include <stdbool.h>
+#include <stdbool.h>
 /*
  * MAX_ERRNO is defined as 4095 in linux/err.h
  * We use the same value here.
@@ -29,8 +29,6 @@
 
 const char *errno_to_name(int id);
 int errno_from_name(const char *name);
-#if 0 /// UNNEEDED by elogind
-#endif // 0
 static inline bool errno_is_valid(int n) {
         return n > 0 && n <= ERRNO_MAX;
 }