+2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gjavah.c (overloaded_jni_method_exists_p): Add prototype.
+ (print_name_for_stub_or_jni, process_file): Constify a char*.
+
2000-02-03 Tom Tromey <tromey@cygnus.com>
* jcf-io.c (jcf_print_utf8_replace): Handle UTF-8 input.
static void usage PARAMS ((void)) ATTRIBUTE_NORETURN;
static void help PARAMS ((void)) ATTRIBUTE_NORETURN;
static void version PARAMS ((void)) ATTRIBUTE_NORETURN;
+static int overloaded_jni_method_exists_p PARAMS ((const unsigned char *, int,
+ const char *, int));
JCF_u2 current_field_name;
JCF_u2 current_field_value;
AND int name_index AND int signature_index
AND int is_init AND const char *name_override AND int flags)
{
- char *prefix = flag_jni ? "Java_" : "\n";
+ const char *const prefix = flag_jni ? "Java_" : "\n";
print_cxx_classname (stream, prefix, jcf, jcf->this_class);
fputs (flag_jni ? "_" : "::", stream);
print_full_cxx_name (stream, jcf, name_index,
if (written_class_count++ == 0 && out)
{
- char *cstart, *cstart2, *mode, *cend, *what, *jflag;
+ const char *cstart, *cstart2, *mode, *cend, *what, *jflag;
if (flag_jni)
{
cstart = "/*";