aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
commite1ce8aa5ed46310d716472d19d2e87da2833d599 (patch)
treecacaf1a83d8e388b049c2b3bc454f311dd34b6e2 /gdb/utils.c
parent04a0511c0af3d07f7b4587fbf4715d2b956f1fad (diff)
downloadgdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.zip
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.gz
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.bz2
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index cb1eb9c..b014d3c 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -693,6 +693,7 @@ lines_to_list ()
return 10;
}
+/* ARGSUSED */
static void
set_width_command (args, from_tty, c)
char *args;
@@ -1205,11 +1206,11 @@ char *
strstr (in, find)
const char *in, *find;
{
- register char *p = in - 1;
+ register const char *p = in - 1;
while (0 != (p = strchr (p+1, *find))) {
if (strcmp (p, find))
- return p;
+ return (char *)p;
}
return 0;
}