This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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:
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]