X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libio%2Fstrstream.h;h=967e5b0b76ac6623bb1f466b99efcd4c6bb5ac90;hb=1ef27c9d924eca380ad8abe0b5ef4c1009051e75;hp=d549b4547588d6f7c3f16aa81b2c6f8564b3b79f;hpb=28e9041cc224267271fbcd8db22bea115912365b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libio/strstream.h b/libio/strstream.h index d549b454758..967e5b0b76a 100644 --- a/libio/strstream.h +++ b/libio/strstream.h @@ -1,5 +1,5 @@ /* This is part of libio/iostream, providing -*- C++ -*- input/output. -Copyright (C) 1993 Free Software Foundation +Copyright (C) 1993, 1999 Free Software Foundation This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or modify it under the @@ -50,8 +50,8 @@ class strstreambuf : public streambuf virtual ~strstreambuf(); strstreambuf() { init_dynamic(0, 0); } strstreambuf(int initial_size) { init_dynamic(0, 0, initial_size); } - strstreambuf(void *(*alloc)(_IO_size_t), void (*free)(void*)) - { init_dynamic(alloc, free); } + strstreambuf(void *(*__alloc)(_IO_size_t), void (*__free)(void*)) + { init_dynamic(__alloc, __free); } strstreambuf(char *ptr, int size, char *pstart = NULL) { init_static(ptr, size, pstart); } strstreambuf(unsigned char *ptr, int size, unsigned char *pstart = NULL)