aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-27 12:52:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-27 12:52:10 +0000
commitf00482b6037e39ffc01e0e58e8d97c151857c8c6 (patch)
treeb7cf113a5da59bb00ff057e712c81c67258bb4ef /gdb/sol-thread.c
parent337c776f026643dd234f96204d6ed2387d45b6ba (diff)
downloadgdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.zip
gdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.tar.gz
gdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.tar.bz2
Add procfs_find_LDT_entry declaration (procfs.h).
Add a declaration for procfs_find_LDT_entry in order to prevent a compiler warning about this function missing one. This also helps making sure that declaration and definition remain consistent. gdb/ChangeLog: * procfs.h (procfs_find_LDT_entry): Add declaration. * sol-thread.c (ps_lgetLDT): Delete local declaration of function procfs_find_LDT_entry.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 3577b5a..cd37615 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1108,7 +1108,6 @@ ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,
struct ssd *pldt)
{
/* NOTE: only used on Solaris, therefore OK to refer to procfs.c. */
- extern struct ssd *procfs_find_LDT_entry (ptid_t);
struct ssd *ret;
/* FIXME: can't I get the process ID from the prochandle or