Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Const poisoning of dladdr (so that things build after the dl...
details: https://anonhg.NetBSD.org/src/rev/75af6976abd6
branches: trunk
changeset: 481945:75af6976abd6
user: kristerw <kristerw%NetBSD.org@localhost>
date: Wed Feb 09 22:41:53 2000 +0000
description:
Const poisoning of dladdr (so that things build after the dlfcn.h change)
diffstat:
include/link_aout.h | 4 ++--
lib/csu/common_aout/common.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 768b51ad2bd1 -r 75af6976abd6 include/link_aout.h
--- a/include/link_aout.h Wed Feb 09 22:27:55 2000 +0000
+++ b/include/link_aout.h Wed Feb 09 22:41:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: link_aout.h,v 1.17 1999/03/19 22:06:36 thorpej Exp $ */
+/* $NetBSD: link_aout.h,v 1.18 2000/02/09 22:41:53 kristerw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -181,7 +181,7 @@
void *(*dlsym) __P((void *, const char *));
int (*dlctl) __P((void *, int, void *));
void (*dlexit) __P((void));
- int (*dladdr) __P((void *, Dl_info *));
+ int (*dladdr) __P((const void *, Dl_info *));
void (*dlrsrvd[2]) __P((void));
};
diff -r 768b51ad2bd1 -r 75af6976abd6 lib/csu/common_aout/common.c
--- a/lib/csu/common_aout/common.c Wed Feb 09 22:27:55 2000 +0000
+++ b/lib/csu/common_aout/common.c Wed Feb 09 22:41:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.16 1999/06/17 21:09:47 thorpej Exp $ */
+/* $NetBSD: common.c,v 1.17 2000/02/09 22:41:54 kristerw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -220,7 +220,7 @@
int
dladdr(addr, dli)
- void *addr;
+ const void *addr;
Dl_info *dli;
{
if ((*ld_entry) == NULL || (*ld_entry)->dladdr == NULL)
Home |
Main Index |
Thread Index |
Old Index