1. 10 Nov, 2011 3 commits
  2. 09 Nov, 2011 1 commit
  3. 20 Aug, 2011 1 commit
  4. 05 Aug, 2011 1 commit
  5. 20 Jun, 2011 1 commit
  6. 14 Jun, 2011 2 commits
  7. 01 Jun, 2011 2 commits
  8. 02 May, 2011 2 commits
  9. 16 Mar, 2011 1 commit
  10. 22 Jan, 2011 1 commit
  11. 16 Nov, 2010 1 commit
  12. 30 Oct, 2010 1 commit
  13. 20 Oct, 2010 2 commits
  14. 22 Aug, 2010 1 commit
  15. 20 Aug, 2010 1 commit
    • Blue Swirl's avatar
      Use ARRAY_SIZE macro · 66fe09ee
      Blue Swirl authored
      
      
      Replace array size calculations with ARRAY_SIZE macro.
      
      Implemented with this Coccinelle semantic patch, adapted from
      Linux kernel:
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(*E))
      + ARRAY_SIZE(E)
      
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(E[...]))
      + ARRAY_SIZE(E)
      
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(T))
      + ARRAY_SIZE(E)
      
      Some files (*-dis.c, tests/*) had to be filtered out.
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      66fe09ee
  16. 01 Jul, 2010 1 commit
  17. 28 Jun, 2010 2 commits
  18. 19 Jun, 2010 1 commit
  19. 01 Jun, 2010 1 commit
  20. 13 Mar, 2010 11 commits
  21. 12 Mar, 2010 1 commit
  22. 28 Feb, 2010 1 commit
  23. 23 Feb, 2010 1 commit