* language.c (struct op_print unk_op_print_tab): use the enum values
authorK. Richard Pixley <rich@cygnus>
Wed, 17 Feb 1993 21:43:45 +0000 (21:43 +0000)
committerK. Richard Pixley <rich@cygnus>
Wed, 17 Feb 1993 21:43:45 +0000 (21:43 +0000)
  rather naked zeros as initializers.  Avoids warnings from ultrix
  type compilers.

gdb/ChangeLog
gdb/language.c

index 369cb00..83c9b15 100644 (file)
@@ -1,3 +1,9 @@
+Wed Feb 17 13:40:29 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * language.c (struct op_print unk_op_print_tab): use the enum
+         values rather naked zeros as initializers.  Avoids warnings from
+         ultrix type compilers.
+
 Tue Feb 16 00:53:20 1993  John Gilmore  (gnu@cygnus.com)
 
        * Makefile.in (VERSION):  Roll to 4.7.6.
index d9c7c1c..db4fb45 100644 (file)
@@ -1198,7 +1198,7 @@ unk_lang_val_print (type, valaddr, address, stream, format, deref_ref,
 
 static struct type ** const (unknown_builtin_types[]) = { 0 };
 static const struct op_print unk_op_print_tab[] = {
-    {NULL, 0, 0, 0}
+    {NULL, OP_NULL, PREC_NULL, 0}
 };
 
 const struct language_defn unknown_language_defn = {