* dlmalloc.c: New file. Port of Doug Lea's malloc
* dlmalloc.h: Ditto. * Makefile.in: Add support for MALLOC_DEBUG * config.h.in: Ditto. * winsup.h: Ditto. * configure.in: Add --enable-malloc-debugging option. * configure: Regenerate. * debug.h: Include declarations for debugging malloc. * tty.cc (grantpt): Fix definition. (unlockpt): Ditto.
This commit is contained in:
@@ -29,14 +29,14 @@ extern fhandler_tty_master *tty_master;
|
||||
|
||||
extern "C"
|
||||
int
|
||||
grantpt (void)
|
||||
grantpt (int fd)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C"
|
||||
int
|
||||
unlockpt (void)
|
||||
unlockpt (int fd)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user