1. 12 Mar, 2012 1 commit
  2. 24 Feb, 2012 4 commits
  3. 22 Feb, 2012 2 commits
  4. 19 Jan, 2012 1 commit
  5. 22 Dec, 2011 1 commit
  6. 28 Nov, 2011 2 commits
  7. 10 Nov, 2011 3 commits
  8. 09 Nov, 2011 1 commit
  9. 20 Aug, 2011 1 commit
  10. 05 Aug, 2011 1 commit
  11. 20 Jun, 2011 1 commit
  12. 14 Jun, 2011 2 commits
  13. 01 Jun, 2011 2 commits
  14. 02 May, 2011 2 commits
  15. 16 Mar, 2011 1 commit
  16. 22 Jan, 2011 1 commit
  17. 16 Nov, 2010 1 commit
  18. 30 Oct, 2010 1 commit
  19. 20 Oct, 2010 2 commits
  20. 22 Aug, 2010 1 commit
  21. 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
  22. 01 Jul, 2010 1 commit
  23. 28 Jun, 2010 2 commits
  24. 19 Jun, 2010 1 commit
  25. 01 Jun, 2010 1 commit
  26. 13 Mar, 2010 3 commits