diff options
author | Yao Qi <yao@codesourcery.com> | 2012-03-02 12:56:50 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-03-02 12:56:50 +0000 |
commit | a95babbf381faac591ef74244aba6b399448c653 (patch) | |
tree | 0585544f468251638a29bf0c3fa24eba2b6515b7 /gdb/i386-linux-nat.c | |
parent | d603d4b3dad936893df823ac1906b175298d7d6a (diff) | |
download | gdb-a95babbf381faac591ef74244aba6b399448c653.zip gdb-a95babbf381faac591ef74244aba6b399448c653.tar.gz gdb-a95babbf381faac591ef74244aba6b399448c653.tar.bz2 |
gdb/
Fix -Wmissing-prototypes build.
* charset.c (phony_iconv_open): Make static.
(phony_iconv_close, phony_iconv): Likewise.
* i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
* i386-windows-nat.c (_initialize_i386_windows_nat): New
prototype.
* mingw-hdep.c (_initialize_mingw_hdep): New prototype.
* ser-mingw.c (create_select_thread): Make static.
* windows-termcap.c (tgetent): New prototype.
(tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 38e7027..ac1629a 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -1008,6 +1008,9 @@ i386_linux_read_description (struct target_ops *ops) return tdesc_i386_linux; } +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_i386_linux_nat; + void _initialize_i386_linux_nat (void) { |