git: libc/glob: Fix a -Wstrict-prototypes warning by bringing back an old fix.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Apr 9 12:01:24 PDT 2019


commit 6640fe81e9f3d997299e11356c7a204c96dfef51
Author: Sascha Wildner <saw at online.de>
Date:   Tue Apr 9 20:51:24 2019 +0200

    libc/glob: Fix a -Wstrict-prototypes warning by bringing back an old fix.
    
    It went like this:
    
    * In 2005, joerg fixed this warning in DragonFly (2a6aec8dab58c89961).
    
    * In 2013, this fix was overwritten without looking with the then still
      broken version from FreeBSD (0d5acd7467c4e95f79).
    
    * In 2015, joerg submitted the fix to FreeBSD and it was committed as
      r288098.
    
    This commit applies back FreeBSD's r288098 to our tree. :)

Summary of changes:
 lib/libc/gen/glob.c | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6640fe81e9f3d997299e11356c7a204c96dfef51


-- 
DragonFly BSD source repository


More information about the Commits mailing list