changeset 30184:51b1966816e5

maint: Backed out changeset 2f39642b9084 Keep C-style typedef so file can be compiled under C or C++ compiler.
author Rik <rik@octave.org>
date Wed, 15 Sep 2021 16:21:30 -0700
parents 00c30b1c8250
children 603a83d18107
files liboctave/util/f77-fcn.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/f77-fcn.h	Wed Sep 15 19:36:14 2021 +0200
+++ b/liboctave/util/f77-fcn.h	Wed Sep 15 16:21:30 2021 -0700
@@ -150,7 +150,7 @@
 /* FIXME: These should work for SV1 or Y-MP systems but will
           need to be changed for others.  */
 
-union octave_cray_descriptor
+typedef union
 {
   const char *const_ptr;
   char *ptr;
@@ -160,7 +160,7 @@
     unsigned len : 26;
     unsigned add : 32;
   } mask;
-};
+} octave_cray_descriptor;
 
 typedef void *octave_cray_ftn_ch_dsc;