+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.
} 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)
}
-int
+static int
wrap_parse_exp_1 (argptr)
char *argptr;
{
return 1;
}
-int
+static int
wrap_evaluate_expression (a)
char *a;
{
"", RETURN_MASK_ERROR);
}
-int
+static int
wrap_value_fetch_lazy (a)
char *a;
{
return 1;
}
-int
+static int
wrap_value_equal (a)
char *a;
{
return 1;
}
-int
+static int
wrap_value_subscript (a)
char *a;
{
return 1;
}
-int
+static int
wrap_value_ind (opaque_arg)
char *opaque_arg;
{
return 1;
}
-int
+static int
wrap_parse_and_eval_type (char *a)
{
struct gdb_wrapper_arguments *args = (struct gdb_wrapper_arguments *) a;
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 */