public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add missing prototypes
@ 2012-03-10 21:53 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2012-03-10 21:53 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hi,

Gdb recently added -Wmissing-prototypes. This patch fixes the one build 
regression caused by this.

Keith

ChangeLog
2012-03-10  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-interp.c (_initialize_gdbtk_interp): Add
	missing prototype to appease -Wmissing-prototypes.

[-- Attachment #2: missing-proto.patch --]
[-- Type: text/x-patch, Size: 826 bytes --]

Index: generic/gdbtk-interp.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-interp.c,v
retrieving revision 1.11
diff -u -p -r1.11 gdbtk-interp.c
--- generic/gdbtk-interp.c	2 Nov 2011 19:44:37 -0000	1.11
+++ generic/gdbtk-interp.c	10 Mar 2012 21:51:32 -0000
@@ -1,7 +1,7 @@
 /* Insight Definitions for GDB, the GNU debugger.
    Written by Keith Seitz <kseitz@sources.redhat.com>
 
-   Copyright (C) 2003, 2004, 2008, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2008, 2011, 2012 Free Software Foundation, Inc.
 
    This file is part of Insight.
 
@@ -42,6 +42,7 @@
 
 static void gdbtk_command_loop (void);
 static void hack_disable_interpreter_exec (char *, int);
+void _initialize_gdbtk_interp (void);
 
 struct gdbtk_interp_data
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-10 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-10 21:53 [PATCH] Add missing prototypes Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).