/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
*/
#ifndef _SYS_DDI_OBSOLETE_H
#define _SYS_DDI_OBSOLETE_H
/*
* Obsoleted DDI Interfaces
*/
#include <sys/dditypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _DDI_STRICT
extern long strtol(const char *, char **, int);
extern unsigned long strtoul(const char *, char **, int);
/* only support older interfaces on 32-bit systems */
#ifdef _ILP32
/* These can't be define's since they're not asm routines */
#endif
/* Obsolete LDI event interfaces */
extern int ldi_get_eventcookie(ldi_handle_t, char *,
void *, ldi_callback_id_t *);
#endif /* not _DDI_STRICT */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_DDI_OBSOLETE_H */