Skip to content
Snippets Groups Projects
  1. Oct 17, 2011
  2. Jul 28, 2011
  3. Oct 06, 2010
  4. Jun 20, 2010
    • Wolfgang Denk's avatar
      include/compiler.h: remove redundant declaration of errno · 9312bba0
      Wolfgang Denk authored
      
      Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
      a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
      which is causing build warnings for some systems, for example for the
      "netstar" board:
      
      	In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
      	include/compiler.h:28: warning: function declaration isn't a prototype
      
      The declaration of "errno" should be redundant, as <errno.h> is
      supposed to provide a correct declaration, so drop it.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      9312bba0
  5. May 05, 2010
    • Mike Frysinger's avatar
      compiler.h: add uint typedef · b050c72d
      Mike Frysinger authored
      
      Recent crc changes started using the "uint" type in headers that are used
      on the build system.  This subsequently broke mingw targets as they do not
      provide such a type.  So add this basic typedef to compiler.h so that we
      do not have to worry about this breaking again in the future.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      b050c72d
  6. Jan 17, 2010
  7. Oct 03, 2009
  8. Sep 04, 2009
  9. Jul 19, 2009
    • Mike Frysinger's avatar
      compiler.h: unify system ifdef cruft here · 37566090
      Mike Frysinger authored
      
      Shove a lot of the HOSTCC and related #ifdef checking crap into the new
      compiler.h header so that we can keep all other headers nice and clean.
      
      Also introduce custom uswap functions so we don't have to rely on the non
      standard implementations that a host may (or may not in the case of OS X)
      provide.  This allows mkimage to finally build cleanly on an OS X system.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      37566090
Loading