2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

use isc/lang.h and add protective UNIX_ERRNO2RESULT_H wrapper

This commit is contained in:
David Lawrence 2000-06-23 03:03:57 +00:00
parent ac9e556e49
commit ec32c6b366

View File

@ -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 <isc/lang.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
isc_result_t
isc__errno2result(int posixerrno);
ISC_LANG_ENDDECLS
#endif /* UNIX_ERRNO2RESULT_H */