Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Use __constfunc(3) instead of __attribute__((const))...
details: https://anonhg.NetBSD.org/src/rev/cdc2682f6f2a
branches: trunk
changeset: 759983:cdc2682f6f2a
user: jruoho <jruoho%NetBSD.org@localhost>
date: Wed Dec 22 19:47:56 2010 +0000
description:
Use __constfunc(3) instead of __attribute__((const)) directly.
diffstat:
include/stdlib.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 211ab1f2a122 -r cdc2682f6f2a include/stdlib.h
--- a/include/stdlib.h Wed Dec 22 19:43:33 2010 +0000
+++ b/include/stdlib.h Wed Dec 22 19:47:56 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.93 2010/10/01 20:11:58 christos Exp $ */
+/* $NetBSD: stdlib.h,v 1.94 2010/12/22 19:47:56 jruoho Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -300,7 +300,7 @@
void setproctitle(const char *, ...)
__printflike(1, 2);
-const char *getprogname(void) __attribute__((const));
+const char *getprogname(void) __constfunc;
void setprogname(const char *);
quad_t qabs(quad_t);
Home |
Main Index |
Thread Index |
Old Index