K 10 svn:author V 3 dim K 8 svn:date V 27 2021-12-24T12:14:29.212658Z K 7 svn:log V 938 Fix gcc gperf prototypes to avoid redeclaration errors Otherwise, building stable/12's gcc on recent -CURRENT will result in redeclaration errors: In file included from /usr/src/contrib/gcc/cp/except.c:892: /usr/src/contrib/gcc/cp/cfns.gperf:20:1: error: conflicting types for 'hash' hash (register const char *str, register size_t len) ^ /usr/src/contrib/gcc/cp/cfns.gperf:5:21: note: previous declaration is here static unsigned int hash (const char *, unsigned int); ^ /usr/src/contrib/gcc/cp/cfns.gperf:78:1: error: conflicting types for 'libc_name_p' libc_name_p (register const char *str, register size_t len) ^ /usr/src/contrib/gcc/cp/cfns.gperf:9:14: note: previous declaration is here const char * libc_name_p (const char *, unsigned int); ^ Direct commit to stable/12, since gcc is gone in stable/13 and later. Git Hash: b5cbe4e981254184d94b307b7dce0405ffcb0f3f Git Author: dim@FreeBSD.org END