aboutsummaryrefslogtreecommitdiff
path: root/malloc/obstack.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-10 04:21:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-10 04:21:10 +0000
commit718bac29232752f6020d637a0309ac9fe2935b80 (patch)
tree17327fc80cefe7d0ab8545a00c59c089d496b15f /malloc/obstack.c
parent85599e53cdba552f3b288b9e79c26592da11263b (diff)
downloadglibc-718bac29232752f6020d637a0309ac9fe2935b80.tar
glibc-718bac29232752f6020d637a0309ac9fe2935b80.tar.gz
glibc-718bac29232752f6020d637a0309ac9fe2935b80.tar.bz2
glibc-718bac29232752f6020d637a0309ac9fe2935b80.zip
Update.
2000-11-07 Akim Demaille <akim@epita.fr> * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second argument `data' for consistency with the prototypes. Qualify it `const'. (obstack_copy, obstack_copy0): Rename the second argument as `address' for consistency. Qualify it `const'. * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow) (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify `const' their input argument (`data' or `address'). Adjust the corresponding macros to include `const' in casts.
Diffstat (limited to 'malloc/obstack.c')
-rw-r--r--malloc/obstack.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 6b32678b56..8368f28896 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -524,20 +524,20 @@ int (obstack_make_room) (obstack, length)
return obstack_make_room (obstack, length);
}
-void (obstack_grow) (obstack, pointer, length)
+void (obstack_grow) (obstack, data, length)
struct obstack *obstack;
- POINTER pointer;
+ const POINTER data;
int length;
{
- obstack_grow (obstack, pointer, length);
+ obstack_grow (obstack, data, length);
}
-void (obstack_grow0) (obstack, pointer, length)
+void (obstack_grow0) (obstack, data, length)
struct obstack *obstack;
- POINTER pointer;
+ const POINTER data;
int length;
{
- obstack_grow0 (obstack, pointer, length);
+ obstack_grow0 (obstack, data, length);
}
void (obstack_1grow) (obstack, character)
@@ -581,20 +581,20 @@ POINTER (obstack_alloc) (obstack, length)
return obstack_alloc (obstack, length);
}
-POINTER (obstack_copy) (obstack, pointer, length)
+POINTER (obstack_copy) (obstack, address, length)
struct obstack *obstack;
- POINTER pointer;
+ const POINTER address;
int length;
{
- return obstack_copy (obstack, pointer, length);
+ return obstack_copy (obstack, address, length);
}
-POINTER (obstack_copy0) (obstack, pointer, length)
+POINTER (obstack_copy0) (obstack, address, length)
struct obstack *obstack;
- POINTER pointer;
+ const POINTER address;
int length;
{
- return obstack_copy0 (obstack, pointer, length);
+ return obstack_copy0 (obstack, address, length);
}
#endif /* __STDC__ */