aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-04-11 19:41:11 +0000
committerFernando Nasser <fnasser@redhat.com>2000-04-11 19:41:11 +0000
commit287e3058087929647df7eb001a99ed281d5d719d (patch)
treef698638fa39ff003f97fb8d3924fda61931966fd /gdb
parent43cbcf28590f2883478602d7cd7be26341ead69f (diff)
downloadgdb-287e3058087929647df7eb001a99ed281d5d719d.zip
gdb-287e3058087929647df7eb001a99ed281d5d719d.tar.gz
gdb-287e3058087929647df7eb001a99ed281d5d719d.tar.bz2
2000-04-11 Fernando Nasser <fnasser@cygnus.com>
* wrapper.h: Remove definitions of internal functions. * wrapper.c: Remove definitions of exported functions (which are already in wrapper.h) and make static all internal wrap_* functions.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/wrapper.c36
-rw-r--r--gdb/wrapper.h6
3 files changed, 20 insertions, 28 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b813d76..fe7f09a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-11 Fernando Nasser <fnasser@cygnus.com>
+
+ * wrapper.h: Remove definitions of internal functions.
+ * wrapper.c: Remove definitions of exported functions (which are
+ already in wrapper.h) and make static all internal wrap_* functions.
+
Mon Apr 10 21:58:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
* acconfig.h (USE_INCLUDED_REGEX): Add.
diff --git a/gdb/wrapper.c b/gdb/wrapper.c
index 7ee26a7..f7b14fc 100644
--- a/gdb/wrapper.c
+++ b/gdb/wrapper.c
@@ -42,27 +42,19 @@ struct gdb_wrapper_arguments
} args[10];
};
-int gdb_parse_exp_1 PARAMS ((char **, struct block *,
- int, struct expression **));
-int wrap_parse_exp_1 PARAMS ((char *));
+static int wrap_parse_exp_1 PARAMS ((char *));
-int gdb_evaluate_expression PARAMS ((struct expression *, value_ptr *));
-int wrap_evaluate_expression PARAMS ((char *));
+static int wrap_evaluate_expression PARAMS ((char *));
-int gdb_value_fetch_lazy PARAMS ((value_ptr));
-int wrap_value_fetch_lazy PARAMS ((char *));
+static int wrap_value_fetch_lazy PARAMS ((char *));
-int gdb_value_equal PARAMS ((value_ptr, value_ptr, int *));
-int wrap_value_equal PARAMS ((char *));
+static int wrap_value_equal PARAMS ((char *));
-int gdb_value_subscript PARAMS ((value_ptr, value_ptr, value_ptr * rval));
-int wrap_value_subscript PARAMS ((char *));
+static int wrap_value_subscript PARAMS ((char *));
-int gdb_value_ind PARAMS ((value_ptr val, value_ptr * rval));
-int wrap_value_ind PARAMS ((char *opaque_arg));
+static int wrap_value_ind PARAMS ((char *opaque_arg));
-int gdb_parse_and_eval_type (char *, int, struct type **);
-int wrap_parse_and_eval_type (char *);
+static int wrap_parse_and_eval_type (char *);
int
gdb_parse_exp_1 (stringptr, block, comma, expression)
@@ -88,7 +80,7 @@ gdb_parse_exp_1 (stringptr, block, comma, expression)
}
-int
+static int
wrap_parse_exp_1 (argptr)
char *argptr;
{
@@ -119,7 +111,7 @@ gdb_evaluate_expression (exp, value)
return 1;
}
-int
+static int
wrap_evaluate_expression (a)
char *a;
{
@@ -141,7 +133,7 @@ gdb_value_fetch_lazy (value)
"", RETURN_MASK_ERROR);
}
-int
+static int
wrap_value_fetch_lazy (a)
char *a;
{
@@ -173,7 +165,7 @@ gdb_value_equal (val1, val2, result)
return 1;
}
-int
+static int
wrap_value_equal (a)
char *a;
{
@@ -209,7 +201,7 @@ gdb_value_subscript (val1, val2, rval)
return 1;
}
-int
+static int
wrap_value_subscript (a)
char *a;
{
@@ -243,7 +235,7 @@ gdb_value_ind (val, rval)
return 1;
}
-int
+static int
wrap_value_ind (opaque_arg)
char *opaque_arg;
{
@@ -273,7 +265,7 @@ gdb_parse_and_eval_type (char *p, int length, struct type **type)
return 1;
}
-int
+static int
wrap_parse_and_eval_type (char *a)
{
struct gdb_wrapper_arguments *args = (struct gdb_wrapper_arguments *) a;
diff --git a/gdb/wrapper.h b/gdb/wrapper.h
index 0345b89..e1d71c2 100644
--- a/gdb/wrapper.h
+++ b/gdb/wrapper.h
@@ -24,21 +24,15 @@ struct gdb_wrapper_arguments;
extern int gdb_parse_exp_1 PARAMS ((char **, struct block *,
int, struct expression **));
-extern int wrap_parse_exp_1 PARAMS ((char *));
extern int gdb_evaluate_expression PARAMS ((struct expression *, value_ptr *));
-extern int wrap_evaluate_expression PARAMS ((char *));
extern int gdb_value_fetch_lazy PARAMS ((value_ptr));
-extern int wrap_value_fetch_lazy PARAMS ((char *));
extern int gdb_value_equal PARAMS ((value_ptr, value_ptr, int *));
-extern int wrap_value_equal PARAMS ((char *));
extern int gdb_value_ind PARAMS ((value_ptr val, value_ptr * rval));
-extern int wrap_value_ind PARAMS ((char *opaque_arg));
extern int gdb_parse_and_eval_type (char *, int, struct type **);
-extern int wrap_parse_and_eval_type (char *);
#endif /* WRAPPER_H */