Declare dlerror()'s return value __aconst.
This commit is contained in:
parent
28d76befd4
commit
196becef81
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dlfcn.h,v 1.9 1998/09/05 13:11:07 pk Exp $ */
|
||||
/* $NetBSD: dlfcn.h,v 1.10 1999/05/19 14:50:49 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -61,7 +61,7 @@ extern void *dlsym __P((void *, const char *));
|
|||
extern int dladdr __P((void *, Dl_info *));
|
||||
extern int dlctl __P((void *, int, void *));
|
||||
#endif
|
||||
extern char *dlerror __P((void));
|
||||
extern __aconst char *dlerror __P((void));
|
||||
__END_DECLS
|
||||
|
||||
/* Values for dlopen `mode'. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: common.c,v 1.14 1999/01/28 23:59:49 fvdl Exp $ */
|
||||
/* $NetBSD: common.c,v 1.15 1999/05/19 14:50:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -206,7 +206,7 @@ dlctl(fd, cmd, arg)
|
|||
return ((*ld_entry)->dlctl)(fd, cmd, arg);
|
||||
}
|
||||
|
||||
char *
|
||||
__aconst char *
|
||||
dlerror()
|
||||
{
|
||||
int error;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: common.c,v 1.2 1999/05/19 14:47:12 kleink Exp $ */
|
||||
/* $NetBSD: common.c,v 1.3 1999/05/19 14:50:50 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Christopher G. Demetriou
|
||||
|
@ -116,7 +116,7 @@ dlctl(fd, cmd, arg)
|
|||
}
|
||||
#endif
|
||||
|
||||
char *
|
||||
__aconst char *
|
||||
dlerror()
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue