]> diplodocus.org Git - nmh/blobdiff - h/nmh.h
Add more NORETURN and CHECK_PRINTF function attributes.
[nmh] / h / nmh.h
diff --git a/h/nmh.h b/h/nmh.h
index ed02240a96f41e7c1f746b2e589670b0f878d127..07f7240b1ca1b28a1ce90203ec653635dcba66c1 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
@@ -1,6 +1,4 @@
-
-/*
- * nmh.h -- system configuration header file
+/* nmh.h -- system configuration header file
  */
 
 #ifdef HAVE_CONFIG_H
@@ -28,7 +26,6 @@
 #include <sys/wait.h>
 
 # include <dirent.h>
-#define NLENGTH(dirent) strlen((dirent)->d_name)
 
 #include <stdlib.h>
 #include <stdarg.h>
 # endif
 #endif
 
+#ifndef HAVE_GETLINE
+ssize_t getline(char **lineptr, size_t *n, FILE *stream);
+#endif
+
 /*
  * Defaults for programs if they aren't configured in a user's profile
  */