From ec32c6b36611bfc5e7bdd83f57a64e41f1eab873 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 23 Jun 2000 03:03:57 +0000 Subject: [PATCH] use isc/lang.h and add protective UNIX_ERRNO2RESULT_H wrapper --- lib/isc/unix/errno2result.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/isc/unix/errno2result.h b/lib/isc/unix/errno2result.h index 530f8fde47..f3204d1434 100644 --- a/lib/isc/unix/errno2result.h +++ b/lib/isc/unix/errno2result.h @@ -15,9 +15,21 @@ * SOFTWARE. */ -/* $Id: errno2result.h,v 1.2 2000/06/22 21:58:33 tale Exp $ */ +/* $Id: errno2result.h,v 1.3 2000/06/23 03:03:57 tale Exp $ */ +#ifndef UNIX_ERRNO2RESULT_H +#define UNIX_ERRNO2RESULT_H 1 + +/* XXXDCL this should be moved to lib/isc/include/isc/errno2result.h. */ + +#include #include +ISC_LANG_BEGINDECLS + isc_result_t isc__errno2result(int posixerrno); + +ISC_LANG_ENDDECLS + +#endif /* UNIX_ERRNO2RESULT_H */