aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2004-06-28 23:48:33 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2004-06-29 00:48:33 +0100
commita0cc19cb1844db23763fa92b9003cd7a495d1bf2 (patch)
treec6d3ff9f487c0eb440185e17df5f7ea184c8fc0d
parent5ad6fca5c3cfc7f8b8ee11163a6db53d80c30e96 (diff)
downloadgcc-a0cc19cb1844db23763fa92b9003cd7a495d1bf2.zip
gcc-a0cc19cb1844db23763fa92b9003cd7a495d1bf2.tar.gz
gcc-a0cc19cb1844db23763fa92b9003cd7a495d1bf2.tar.bz2
* jcf-write.c (get_classfile_modifiers): Formatting fixes.
From-SVN: r83831
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/jcf-write.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 8a7a05d..f6ad5ef 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
+
+ * jcf-write.c (get_classfile_modifiers): Formatting fixes.
+
2004-06-27 Ranjit Mathew <rmathew@hotmail.com>
Formatting fixes.
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 8ead886..42136c6 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -2890,12 +2890,13 @@ release_jcf_state (struct jcf_partial *state)
/* Get the access flags (modifiers) of a class (TYPE_DECL) to be used in the
access_flags field of the class file header. */
-static int get_classfile_modifiers (tree class)
+static int
+get_classfile_modifiers (tree class)
{
/* These are the flags which are valid class file modifiers.
See JVMS2 S4.1. */
- int valid_toplevel_class_flags = ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
- ACC_INTERFACE | ACC_ABSTRACT;
+ int valid_toplevel_class_flags = (ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
+ ACC_INTERFACE | ACC_ABSTRACT);
int flags = get_access_flags (class);
/* ACC_SUPER should always be set, except for interfaces. */