Project

General

Profile

Bug #5705

lint building usr/src/lib/libumem/sparc/umem_genasm.c

Added by Gordon Ross over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2015-03-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Some more lint on sparc

umem_genasm.c:
envvar.c:
getpcstack.c:
malloc.c:
misc.c:
vmem_base.c:
umem.c:
vmem.c:
"/tank/ws/gwr/illumos-5106/usr/src/lib/libumem/common/umem_base.h", line 150: warning: function declared with variable number of args: umem_genasm in umem_genasm.c(35) and umem_base.h(150) (E_FUNC_DECL_VAR_ARG2)
"/tank/ws/gwr/illumos-5106/usr/src/lib/libumem/common/umem_base.h", line 150: warning: function argument declared inconsistently: umem_genasm(arg 2) in umem_genasm.c(35) int  and umem_base.h(150) struct umem_cache ** (E_INCONS_ARG_DECL2)
"/tank/ws/gwr/illumos-5106/usr/src/lib/libumem/common/umem_base.h", line 150: warning: function declared with variable number of args: umem_genasm in umem_genasm.c(35) and umem_base.h(150) (E_FUNC_DECL_VAR_ARG2)
"/tank/ws/gwr/illumos-5106/usr/src/lib/libumem/common/umem_base.h", line 150: warning: function argument declared inconsistently: umem_genasm(arg 2) in umem_genasm.c(35) int  and umem_base.h(150) struct umem_cache ** (E_INCONS_ARG_DECL2)
"/tank/ws/gwr/illumos-5106/usr/src/lib/libumem/common/umem_base.h", line 150: warning: function declared with variable number of args: umem_genasm in umem_genasm.c(35) and umem_base.h(150) (E_FUNC_DECL_VAR_ARG2)

etc.

Also available in: Atom PDF