diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-25 21:40:18 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-25 21:40:18 +0000 |
commit | 667b180a04ef7b68c9988503684d33e0845f6921 (patch) | |
tree | d5efab0c86538811d2bce641db7ad5e5f9365415 /include/stdlib.h | |
parent | aaebc7e14e876539291303c9b60fee65ef90dd2b (diff) |
constify getcap(3). This fixes a warning in libcurses and doesn't
really change the API since those parameters that was been constified
really are not modified by getcap(3) routines.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 85e0da154fd..e267142171c 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.8 1998/11/20 11:18:26 d Exp $ */ +/* $OpenBSD: stdlib.h,v 1.9 1999/02/25 21:40:15 millert Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -129,16 +129,16 @@ void *alloca __P((size_t)); #endif /* __GNUC__ */ char *getbsize __P((int *, long *)); -char *cgetcap __P((char *, char *, int)); +char *cgetcap __P((char *, const char *, int)); int cgetclose __P((void)); -int cgetent __P((char **, char **, char *)); +int cgetent __P((char **, char **, const char *)); int cgetfirst __P((char **, char **)); -int cgetmatch __P((char *, char *)); +int cgetmatch __P((char *, const char *)); int cgetnext __P((char **, char **)); -int cgetnum __P((char *, char *, long *)); -int cgetset __P((char *)); -int cgetstr __P((char *, char *, char **)); -int cgetustr __P((char *, char *, char **)); +int cgetnum __P((char *, const char *, long *)); +int cgetset __P((const char *)); +int cgetstr __P((char *, const char *, char **)); +int cgetustr __P((char *, const char *, char **)); int daemon __P((int, int)); char *devname __P((int, int)); |