1. 10 Feb, 2011 1 commit
  2. 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
  3. 04 Feb, 2011 1 commit
  4. 30 Jan, 2011 1 commit
  5. 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
  6. 28 Jan, 2011 2 commits
  7. 22 Jan, 2011 2 commits
  8. 20 Jan, 2011 1 commit
  9. 18 Jan, 2011 4 commits
  10. 09 Jan, 2011 2 commits
    • Rusty Russell's avatar
      ccanlint: -k all · 8ffd9b98
      Rusty Russell authored
      Use this to preserve the entire working directory.
      8ffd9b98
    • Rusty Russell's avatar
      ccanlint: -k should not pollute module directory. · 1f45ec04
      Rusty Russell authored
      It leads to numerous problems, such as the next ccanlint getting confused
      trying to compile examples, and "-k examples_compile -k examples_exist"
      giving bogus errors.
      
      So instead we leave the temporary dir lying around and delete
      individual files which aren't marked "keep".
      1f45ec04
  11. 18 Jan, 2011 2 commits
  12. 17 Jan, 2011 21 commits