Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread_dbg constify.



details:   https://anonhg.NetBSD.org/src/rev/754cdeff9a25
branches:  trunk
changeset: 770065:754cdeff9a25
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 02 18:18:14 2011 +0000

description:
constify.

diffstat:

 lib/libpthread_dbg/pthread_dbg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8b7299e73f73 -r 754cdeff9a25 lib/libpthread_dbg/pthread_dbg.h
--- a/lib/libpthread_dbg/pthread_dbg.h  Sun Oct 02 18:16:06 2011 +0000
+++ b/lib/libpthread_dbg/pthread_dbg.h  Sun Oct 02 18:18:14 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_dbg.h,v 1.5 2004/06/02 21:18:25 nathanw Exp $  */
+/*     $NetBSD: pthread_dbg.h,v 1.6 2011/10/02 18:18:14 christos Exp $ */
 
 /*-
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -49,7 +49,7 @@
 struct td_proc_callbacks_t {
        int (*proc_read)(void *arg, caddr_t addr, void *buf, size_t size);
        int (*proc_write)(void *arg, caddr_t addr, void *buf, size_t size);
-       int (*proc_lookup)(void *arg, char *sym, caddr_t *addr);
+       int (*proc_lookup)(void *arg, const char *sym, caddr_t *addr);
        int (*proc_regsize)(void *arg, int regset, size_t *size);
        int (*proc_getregs)(void *arg, int regset, int lwp, void *buf);
        int (*proc_setregs)(void *arg, int regset, int lwp, void *buf);



Home | Main Index | Thread Index | Old Index