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. 15 Aug, 2018 3 commits
  3. 27 Jul, 2018 2 commits
  4. 26 Jun, 2018 5 commits
  5. 23 Jun, 2018 2 commits
  6. 03 Jun, 2018 2 commits
  7. 02 Jun, 2018 2 commits
  8. 28 May, 2018 2 commits
  9. 23 May, 2018 1 commit
  10. 01 Jan, 2018 3 commits
  11. 31 Dec, 2017 1 commit
  12. 03 Nov, 2017 1 commit
  13. 01 Nov, 2017 2 commits
  14. 13 Oct, 2017 1 commit
  15. 15 Sep, 2017 3 commits
  16. 14 Sep, 2017 1 commit
  17. 12 Sep, 2017 2 commits
  18. 10 Sep, 2017 5 commits
  19. 09 Sep, 2017 1 commit