summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/l_stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/l_stdlib.h')
-rw-r--r--contrib/ntp/include/l_stdlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ntp/include/l_stdlib.h b/contrib/ntp/include/l_stdlib.h
index 949cf8f..ca47af8 100644
--- a/contrib/ntp/include/l_stdlib.h
+++ b/contrib/ntp/include/l_stdlib.h
@@ -57,6 +57,10 @@ extern int cfsetospeed P((struct termios *, speed_t));
extern char * getpass P((const char *));
+#ifdef DECL_HSTRERROR_0
+extern const char * hstrerror P((int));
+#endif
+
#ifdef DECL_INET_NTOA_0
struct in_addr;
extern char * inet_ntoa P((struct in_addr));
@@ -136,6 +140,11 @@ struct sigvec;
extern int sigvec P((int, struct sigvec *, struct sigvec *));
#endif
+#ifndef HAVE_SNPRINTF
+/* PRINTFLIKE3 */
+extern int snprintf P((char *, size_t, const char *, ...));
+#endif
+
#ifdef DECL_SRAND48_0
extern void srand48 P((long));
#endif
OpenPOWER on IntegriCloud