This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Get rid of redundant ISATTY definitions
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 29 Dec 2002 00:22:23 +0100 (CET)
- Subject: [PATCH] Get rid of redundant ISATTY definitions
ISATTY is defined by defs.h, so there's no point in defining it again
in tracepoint.c.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* tracepoint.c (ISATTY): Removed.
Index: tracepoint.c
===================================================================
RCS file: /cvs/src/src/gdb/tracepoint.c,v
retrieving revision 1.45
diff -u -p -r1.45 tracepoint.c
--- tracepoint.c 9 Dec 2002 03:30:44 -0000 1.45
+++ tracepoint.c 28 Dec 2002 23:20:37 -0000
@@ -74,12 +74,6 @@ extern int addressprint; /* Print machin
extern void output_command (char *, int);
-/* If this definition isn't overridden by the header files, assume
- that isatty and fileno exist on this system. */
-#ifndef ISATTY
-#define ISATTY(FP) (isatty (fileno (FP)))
-#endif
-
/*
Tracepoint.c: