DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dma: don't use __unused


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Oct 2009 13:45:55 -0700 (PDT)

commit e09ff240f0c05a65aa97ca7fcf540be99855f3a2
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Sat Oct 3 21:32:07 2009 +0200

    dma: don't use __unused
    
    __unused avoids a gcc warning that the parameter is not being used, but
    this does not exist in other systems or is overloaded with a different
    meaning.
    
    Instead simply use a cast to (void) to silence gcc.

Summary of changes:
 libexec/dma/net.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e09ff240f0c05a65aa97ca7fcf540be99855f3a2


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]