* remote-udi.c: Make udi_ops extern rather than trying forward

declaration of a static variable.
This commit is contained in:
Jim Kingdon 1993-08-09 21:12:01 +00:00
parent e5c5fbca67
commit 525390a20c
2 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,8 @@
Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.
* hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
there, rather than using an ANSI C specific macro.

View File

@ -1476,12 +1476,13 @@ void convert16() {;}
void convert32() {;}
FILE* EchoFile = 0; /* used for debugging */
int QuietMode = 0; /* used for debugging */
/* Target_ops vector. Not static because there does not seem to be
any portable way to do a forward declaration of a static variable.
The RS/6000 doesn't like "extern" followed by "static"; SunOS
/bin/cc doesn't like "static" twice. */
/****************************************************************************/
/*
* Define the target subroutine names
*/
static struct target_ops udi_ops = {
struct target_ops udi_ops = {
"udi",
"Remote UDI connected TIP",
"Remote debug an AMD 29k using UDI socket connection to TIP process.\n\