aboutsummaryrefslogtreecommitdiff
path: root/gdb/wrapper.c
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/wrapper.c
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/wrapper.c')
-rw-r--r--gdb/wrapper.c36
1 files changed, 14 insertions, 22 deletions
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;