Commit 705e8733 by Martin v. Löwis Committed by Martin v. Löwis

strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning.

	* strstream.h (strstreambuf::streambuf): Rename parameters to
	avoid shadow warning.
	* stream.h (WS): Likewise.

From-SVN: r30941
parent 035f4506
1999-12-14 Martin v. Lwis <loewis@informatik.hu-berlin.de>
* strstream.h (strstreambuf::streambuf): Rename parameters to
avoid shadow warning.
* stream.h (WS): Likewise.
Thu Sep 30 01:08:04 1999 Jeffrey A Law (law@cygnus.com) Thu Sep 30 01:08:04 1999 Jeffrey A Law (law@cygnus.com)
* editbuf.cc, parsestream.cc, pfstream.cc: Include string.h. * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.
......
/* /*
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 This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the software; you can redistribute it and/or modify it under the
...@@ -53,7 +53,7 @@ extern char* oct(unsigned int, int=0); ...@@ -53,7 +53,7 @@ extern char* oct(unsigned int, int=0);
char* chr(char ch, int width = 0); char* chr(char ch, int width = 0);
char* str(const char* s, int width = 0); char* str(const char* s, int width = 0);
inline istream& WS(istream& str) { return ws(str); } inline istream& WS(istream& __str) { return ws(__str); }
} // extern "C++" } // extern "C++"
#endif /* !_COMPAT_STREAM_H */ #endif /* !_COMPAT_STREAM_H */
/* This is part of libio/iostream, providing -*- C++ -*- input/output. /* 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 This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the software; you can redistribute it and/or modify it under the
...@@ -50,8 +50,8 @@ class strstreambuf : public streambuf ...@@ -50,8 +50,8 @@ class strstreambuf : public streambuf
virtual ~strstreambuf(); virtual ~strstreambuf();
strstreambuf() { init_dynamic(0, 0); } strstreambuf() { init_dynamic(0, 0); }
strstreambuf(int initial_size) { init_dynamic(0, 0, initial_size); } strstreambuf(int initial_size) { init_dynamic(0, 0, initial_size); }
strstreambuf(void *(*alloc)(_IO_size_t), void (*free)(void*)) strstreambuf(void *(*__alloc)(_IO_size_t), void (*__free)(void*))
{ init_dynamic(alloc, free); } { init_dynamic(__alloc, __free); }
strstreambuf(char *ptr, int size, char *pstart = NULL) strstreambuf(char *ptr, int size, char *pstart = NULL)
{ init_static(ptr, size, pstart); } { init_static(ptr, size, pstart); }
strstreambuf(unsigned char *ptr, int size, unsigned char *pstart = NULL) strstreambuf(unsigned char *ptr, int size, unsigned char *pstart = NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment