1. 26 Sep, 2018 1 commit
    • Sergio Costas's avatar
      Don't allow to have functions with empty parameters · e2da88ed
      Sergio Costas authored
      C doesn't check that calls to functions without parameters honors the
      signature. Thus, it is possible to call a function defined as
      
      void function() {...
      
      with several parameters, or assign it to a pointer to function with any
      type and number of parameters, and the compiler won't complain. To avoid
      this, it is mandatory to put "void" inside the parameter list; so the
      previous function must be written as:
      
      void function(void) {...
      
      This allows the compiler to detect illegal usages and assignments.
      e2da88ed
  2. 01 Nov, 2017 1 commit
  3. 21 Aug, 2017 1 commit
  4. 23 Jul, 2017 1 commit
  5. 20 Jul, 2017 2 commits