1. 15 Feb, 2011 8 commits
  2. 17 Feb, 2011 2 commits
  3. 22 Feb, 2011 7 commits
  4. 18 Feb, 2011 1 commit
  5. 11 Feb, 2011 10 commits
  6. 10 Feb, 2011 1 commit
  7. 07 Feb, 2011 2 commits
    • Joel Stanley's avatar
      opt: Silence unsed param warning triggered by -Wextra · 59d2b90f
      Joel Stanley authored
      The type checking function does not use its parameter:
      
          ccan/opt/opt.h: In function ‘_check_is_entry’:
              ccan/opt/opt.h:328:53: warning: unused parameter ‘e’
      
      Annotate the function using UNUSED from compiler.h.  This commit also
      adds compiler.h as a dependency for opt.
      59d2b90f
    • Joel Stanley's avatar
      opt: Fix -Wmissing-field-initializers warning · b30c544b
      Joel Stanley authored
      OPT_ENDTABLE does not initalise all the elements in stuct opt_table.
      When compliling with -Wextra -Wmissing-field-initializers is enabled,
      which produces the following warning:
      
              iviewiir.c:299:9: error: missing field 'cb' initializer
                    [-Wmissing-field-initializers]
                      OPT_ENDTABLE
                      ^
              In file included from iviewiir.c:12:
              ./ccan/opt/opt.h:82:38: note: instantiated from:
              #define OPT_ENDTABLE { NULL, OPT_END }
                                                   ^
      By changing the definition of OPT_ENDTABLE to initalise all 7 elements
      of struct opt_table, the warning is silenced.
      b30c544b
  8. 04 Feb, 2011 1 commit
  9. 30 Jan, 2011 1 commit
  10. 29 Jan, 2011 1 commit
    • Rusty Russell's avatar
      net: fix latent bug in _info example. · 72744050
      Rusty Russell authored
      Ben Hutchings points out that struct sockaddr isn't large enough to hold
      a struct sockaddr_in6.  Our example works because we only access the family
      field, but anyone extending it might be surprised; use a union instead.
      72744050
  11. 28 Jan, 2011 2 commits
  12. 22 Jan, 2011 2 commits
  13. 20 Jan, 2011 1 commit
  14. 18 Jan, 2011 1 commit