git: Fix GCC 12.5's -Warray-parameter warnings.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Apr 2 16:11:23 PDT 2026


commit 0216f6e057228f200b56e2934757788dd52fc450
Author: Sascha Wildner <saw at online.de>
Date:   Fri Apr 3 01:11:06 2026 +0200

    Fix GCC 12.5's -Warray-parameter warnings.
    
    It was introduced in GCC 11 and is part of -Wall.
    
    The ncurses fix was taken from upstream.

Summary of changes:
 bin/sh/jobs.h                               |  2 +-
 contrib/ncurses/ncurses/tinfo/lib_tparm.c   |  2 +-
 games/sail/dr_5.c                           |  8 ++++----
 lib/libpam/modules/pam_unix/pam_unix.c      |  2 +-
 sys/bus/u4b/wlan/if_urtwn.c                 |  8 +++++---
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300.h |  2 +-
 sys/crypto/sha2/sha2.c                      | 12 ++++++------
 sys/dev/netif/ath/ath_hal/ar5212/ar5212.h   |  2 +-
 sys/dev/netif/iwi/if_iwi.c                  |  3 ++-
 sys/netinet/ip_carp.c                       |  8 ++++----
 sys/netproto/802_11/ieee80211_proto.h       |  4 ++--
 sys/netproto/802_11/wlan/ieee80211_scan.c   |  5 +++--
 usr.bin/mail/extern.h                       |  2 +-
 usr.bin/newkey/generic.c                    |  2 +-
 usr.sbin/pfctl/pfctl_radix.c                |  2 +-
 15 files changed, 34 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0216f6e057228f200b56e2934757788dd52fc450


-- 
DragonFly BSD source repository


More information about the Commits mailing list