1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Make the function prototype for cpu_search() match the declaration so that

this still compiles with gcc3.
This commit is contained in:
John Baldwin 2008-03-14 15:22:38 +00:00
parent b9a9803757
commit d628fbfa98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177169

View File

@ -528,7 +528,7 @@ struct cpu_search {
for ((cpu) = 0; (cpu) < sizeof((mask)) * 8; (cpu)++) \
if ((mask) & 1 << (cpu))
__inline int cpu_search(struct cpu_group *cg, struct cpu_search *low,
static __inline int cpu_search(struct cpu_group *cg, struct cpu_search *low,
struct cpu_search *high, const int match);
int cpu_search_lowest(struct cpu_group *cg, struct cpu_search *low);
int cpu_search_highest(struct cpu_group *cg, struct cpu_search *high);
@ -576,7 +576,7 @@ cpu_compare(int cpu, struct cpu_search *low, struct cpu_search *high,
* match argument. It is reduced to the minimum set for each case. It is
* also recursive to the depth of the tree.
*/
static inline int
static __inline int
cpu_search(struct cpu_group *cg, struct cpu_search *low,
struct cpu_search *high, const int match)
{