diff options
| author | jruoho <jruoho@NetBSD.org> | 2010-12-22 19:47:56 +0000 |
|---|---|---|
| committer | jruoho <jruoho@NetBSD.org> | 2010-12-22 19:47:56 +0000 |
| commit | be389a5cf2969f5f9e2da75d446aa61ccfb1c9d6 (patch) | |
| tree | bac6242873925e39530a07e6e8fa53f3d86c6a66 /include/stdlib.h | |
| parent | 62a45458319464d104b06873fd9338baed6e3f69 (diff) | |
Use __constfunc(3) instead of __attribute__((const)) directly.
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index dd24d0fb560..1ef7d0b7d02 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -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 mi_vector_hash(const void * __restrict, size_t, uint32_t, 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); |
