Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13085

win32ss/printing: In C, functions taking no parameters (void) should be marked as such

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.8
    • Win32SS
    • None

    Description

      In C, functions taking no parameters (void) should be marked as such:

      INT FunctionFoo(void)  // Instead of: INT FunctionFoo()
      { ... return 0; }

      and similar for their prototypes in .h files. This is because the empty parentheses in prototypes mean "any number of parameters" instead.

      Attachments

        Issue Links

          Activity

            People

              Colin Finck Colin Finck
              hbelusca hbelusca
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: