git: dma: don't use __unused

Simon Schubert corecode at crater.dragonflybsd.org
Sat Oct 3 13:46:43 PDT 2009


commit e09ff240f0c05a65aa97ca7fcf540be99855f3a2
Author: Simon Schubert <corecode at 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





More information about the Commits mailing list