summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-27 09:33:44 +0000
committermycroft <mycroft@NetBSD.org>1998-07-27 09:33:44 +0000
commit4f4968a946e3241460b6849cb889b2e0937da0cd (patch)
tree16c3e87143321dd4655308fc392d708459c3cdaa /include/stdlib.h
parent633b8f45a9fb8e8cc079b62de5c2f977bbcac0e5 (diff)
Mark more functions returning internal buffers for const auditing.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 7f2050b87ff..18f2effc388 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.34 1998/07/26 23:03:30 mycroft Exp $ */
+/* $NetBSD: stdlib.h,v 1.35 1998/07/27 09:33:44 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -110,7 +110,7 @@ div_t div __P((int, int));
__dead void
exit __P((int));
void free __P((void *));
-char *getenv __P((const char *));
+__aconst char *getenv __P((const char *));
__pure long
labs __P((long));
ldiv_t ldiv __P((long, long));
@@ -216,7 +216,7 @@ int cgetstr __P((char *, const char *, char **));
int cgetustr __P((char *, const char *, char **));
int daemon __P((int, int));
-char *devname __P((dev_t, mode_t));
+__aconst char *devname __P((dev_t, mode_t));
int getloadavg __P((double [], int));
void cfree __P((void *));