mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
Remove "va_start" macro.
This commit is contained in:
parent
b3e643c17b
commit
af6b5090b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5867
@ -30,7 +30,7 @@
|
|||||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
* $Id:$
|
* $Id: scsi.c,v 1.1.1.1 1995/01/24 12:10:11 dufault Exp $
|
||||||
*/
|
*/
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -358,7 +358,6 @@ int scsireq_decode_visit(scsireq_t *scsireq, char *fmt,
|
|||||||
void (*arg_put)(void *, int , void *, int, char *), void *puthook)
|
void (*arg_put)(void *, int , void *, int, char *), void *puthook)
|
||||||
{
|
{
|
||||||
va_list ap = (va_list)0;
|
va_list ap = (va_list)0;
|
||||||
va_start (ap, fmt);
|
|
||||||
return do_buff_decode(scsireq->databuf, (size_t)scsireq->datalen,
|
return do_buff_decode(scsireq->databuf, (size_t)scsireq->datalen,
|
||||||
arg_put, puthook, fmt, ap);
|
arg_put, puthook, fmt, ap);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user