This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Cleanup tuiSource.h
- From: Stephane Carrez <stcarrez at nerim dot fr>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 25 Aug 2002 22:59:52 +0200
- Subject: [PATCH]: Cleanup tuiSource.h
Hi!
I've committed this patch to remove unused/undefined macros and functions in tuiSource.h.
Stephane
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
* tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
(tuiShowSourceAsIs): Don't declare.
Index: tuiSource.h
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiSource.h,v
retrieving revision 1.4
diff -u -p -r1.4 tuiSource.h
--- tuiSource.h 20 Jul 2001 23:06:48 -0000 1.4
+++ tuiSource.h 25 Aug 2002 18:56:33 -0000
@@ -1,5 +1,5 @@
/* TUI display source window.
- Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Hewlett-Packard Company.
This file is part of GDB.
@@ -26,16 +26,8 @@
extern TuiStatus tuiSetSourceContent (struct symtab *, int, int);
extern void tuiShowSource (struct symtab *, TuiLineOrAddress, int);
-extern void tuiShowSourceAsIs (struct symtab *, Opaque, int);
extern int tuiSourceIsDisplayed (char *);
extern void tuiVerticalSourceScroll (TuiScrollDirection, int);
-
-
-/*******************
-** MACROS **
-*******************/
-#define m_tuiShowSourceAsIs(s, line, noerror) tuiUpdateSourceWindowAsIs(srcWin, s, line, noerror)
-
#endif
/*_TUI_SOURCE_H*/