diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-17 12:19:16 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-17 12:19:16 +0000 |
commit | e656498ea979f746fa5e324c4cbd433a5a3de562 (patch) | |
tree | 58b7c6678d27915a200ecc02f04429d240b6ca56 /string/argz.h | |
parent | e25054c49c92587a07de4badfe4b7e01ceb99858 (diff) | |
download | glibc-e656498ea979f746fa5e324c4cbd433a5a3de562.tar.gz glibc-e656498ea979f746fa5e324c4cbd433a5a3de562.tar.xz glibc-e656498ea979f746fa5e324c4cbd433a5a3de562.zip |
Update.
2000-05-17 Andreas Jaeger <aj@suse.de> * string/envz.h: Add pure attributes if possible. * string/argz.h: argz_count is a pure function. * string/strings.h: Add pure and const attributes if possible.
Diffstat (limited to 'string/argz.h')
-rw-r--r-- | string/argz.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/string/argz.h b/string/argz.h index 45441db221..d4ff07dc9d 100644 --- a/string/argz.h +++ b/string/argz.h @@ -1,5 +1,5 @@ /* Routines for dealing with '\0' separated arg vectors. - Copyright (C) 1995, 96, 97, 98, 99 Free Software Foundation, Inc. + Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -56,8 +56,10 @@ extern error_t argz_create_sep (__const char *__restrict __string, size_t *__restrict __len) __THROW; /* Returns the number of strings in ARGZ. */ -extern size_t __argz_count (__const char *__argz, size_t __len) __THROW; -extern size_t argz_count (__const char *__argz, size_t __len) __THROW; +extern size_t __argz_count (__const char *__argz, size_t __len) + __THROW __attribute_pure__; +extern size_t argz_count (__const char *__argz, size_t __len) + __THROW __attribute_pure__; /* Puts pointers to each string in ARGZ into ARGV, which must be large enough to hold them all. */ |