Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-888

wrong prototype definition of libc_file_init() generates warnings in static code analysis

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.1.17.1
    • Component/s: None
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      The definition of libc_file_init() in Includes/API/libc_file_support.h is incorrect. When using the file in a project, static code analysis tool PCLint complains:

      In file included from ..\Sources\config.c:38:0:
      ..\..\Components\rcX_V2.1\Includes\API/libc_file_support.h:37:1: warning: function declaration isn't a prototype

      To fix this, the definition in libc_file_support.h shall be changed to

      void libc_file_init(void);

       

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  BMeyer Benjamin Meyer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: