Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4144481

Shared code mods to add "void" to function prototypes with empty argument list

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the DIGITAL UNIX platform running on DIGITAL's
      Alpha hardware, DIGITAL has changed, for the reasons listed below, the
      following JDK 116 source files in the shared part of the JDK.

      Compatibility of the changes with Sun's JDK was assured by visual inspection of
      the changes and by running the appropriate JCK test suites. No changes were
      made to modify any APIs nor to modify the virtual machine instruction set.

      1. The following files were modified in order to get them to compile on
      DIGITAL UNIX:
        - Modified to add "void" to function prototypes with empty argument lists:
              src/share/sun/images/img_colors.c

      Also, DEC supressed some debug output, see diffs below.

      Diffs:
      ======
      diff -r digital_src/src/share/sun/images/img_colors.c javasoft_src/src/share/sun/images/img_colors.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      84c83
      < init_matrices(void) /*** cds - added void ***/
      ---
      > init_matrices()
      187c186
      < init_primaries(void) { /*** cds - added void ***/
      ---
      > init_primaries() {
      201c200
      < init_pastels(void) { /*** cds - added void ***/
      ---
      > init_pastels() {
      211c210
      < init_grays(void) { /*** cds - added void ***/
      ---
      > init_grays() {
      218c217
      < init_mac_palette(void) { /*** cds - added void ***/
      ---
      > init_mac_palette() {
      296d294
      < /*** HDS suppress this printing:
      299d296
      < ***/
      307c304
      < /*** HDS suppress this printing: jio_fprintf(stderr, "testing %d values\n", g); ***/
      ---
      > jio_fprintf(stderr, "testing %d values\n", g);

        Attachments

          Activity

            People

            Assignee:
            flar Jim Graham
            Reporter:
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: