Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/common_elf Use __UNCONST to unconst a ""



details:   https://anonhg.NetBSD.org/src/rev/2efbf5338ba5
branches:  trunk
changeset: 778287:2efbf5338ba5
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 21 10:09:20 2012 +0000

description:
Use __UNCONST to unconst a ""

diffstat:

 lib/csu/common_elf/common.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8d78b0dc2060 -r 2efbf5338ba5 lib/csu/common_elf/common.h
--- a/lib/csu/common_elf/common.h       Wed Mar 21 10:08:30 2012 +0000
+++ b/lib/csu/common_elf/common.h       Wed Mar 21 10:09:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.15 2011/03/07 05:09:09 joerg Exp $ */
+/* $NetBSD: common.h,v 1.16 2012/03/21 10:09:20 matt Exp $ */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou
@@ -66,7 +66,7 @@
 static char    *_strrchr(char *, int);
 
 char   **environ;
-char   *__progname = "";
+char   *__progname = __UNCONST("");
 struct ps_strings *__ps_strings = 0;
 
 extern void    _init(void);



Home | Main Index | Thread Index | Old Index