Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 12:19:08 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/compat/ndis subr_usbd.c
Message-ID:  <201006121219.o5CCJGgL095632@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2010-06-12 12:19:08 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_usbd.c 
  Log:
  SVN rev 209102 on 2010-06-12 12:19:08Z by ed
  
  ANSIfy prototypes in subr_usbd.c.
  
  Clang generates the following warnings when building subr_usbd.c:
  
  | subr_usbd.c:598:13: warning: promoted type 'int' of K&R function
  |   parameter is not compatible with the parameter type 'uint8_t' (aka
  |   'unsigned char') declared in a previous prototype
  | subr_usbd.c:627:13: warning: promoted type 'int' of K&R function
  |   parameter is not compatible with the parameter type 'uint8_t' (aka
  |   'unsigned char') declared in a previous prototype
  | subr_usbd.c:649:13: warning: promoted type 'int' of K&R function
  |   parameter is not compatible with the parameter type 'uint8_t' (aka
  |   'unsigned char') declared in a previous prototype
  
  Instead of just ANSIfying these three prototypes, do it for the entire
  file.
  
  Spotted by:     clang
  
  Revision  Changes    Path
  1.21      +29 -72    src/sys/compat/ndis/subr_usbd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006121219.o5CCJGgL095632>