1. 15 4月, 2015 2 次提交
    • E
      build: include correct header for time() · e4ab0848
      Eric Blake 提交于
      Found by ./autobuild.sh during a mingw cross-compile:
      
      Commit 8a96e87e was not innocuous - glibc happens to leak the
      definition of time() through other headers, so that even without
      <sys/select.h>, virrandom.c compiled just fine.  But on mingw,
      we were not so lucky; <sys/select.h> was important for its side
      effect of dragging in <time.h>, and we now have nothing providing
      the declaration of time():
      
      ../../src/util/virrandom.c: In function 'virRandomOnceInit':
      ../../src/util/virrandom.c:65:5: error: implicit declaration of function 'time' [-Werror=implicit-function-declaration]
           unsigned int seed = time(NULL) ^ getpid();
                ^
      	  ../../src/util/virrandom.c:65:5: error: nested extern declaration of 'time' [-Werror=nested-externs]
      Signed-off-by: NEric Blake <eblake@redhat.com>
      e4ab0848
    • M
      Introduce virnetdevtest · 49ed6cff
      Michal Privoznik 提交于
      This is yet another test for check of basic functionality of our
      NIC state handling code.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      49ed6cff
  2. 14 4月, 2015 31 次提交
  3. 13 4月, 2015 7 次提交