mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
maint: another preprocessor fix
Regression introduced in commit 62170b995. * src/util/memory.h: Placate cppi, and fit 80 columns.
This commit is contained in:
parent
c4896d378b
commit
cf4dee3615
@ -1,6 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* memory.c: safer memory allocation
|
* memory.c: safer memory allocation
|
||||||
*
|
*
|
||||||
|
* Copyright (C) 2010 Red Hat, Inc.
|
||||||
* Copyright (C) 2008 Daniel P. Berrange
|
* Copyright (C) 2008 Daniel P. Berrange
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
@ -121,7 +122,8 @@ void virFree(void *ptrptr);
|
|||||||
|
|
||||||
* Returns -1 on failure, 0 on success
|
* Returns -1 on failure, 0 on success
|
||||||
*/
|
*/
|
||||||
#define VIR_ALLOC_VAR(ptr, type, count) virAllocVar(&(ptr), sizeof(*(ptr)), sizeof(type), (count))
|
# define VIR_ALLOC_VAR(ptr, type, count) \
|
||||||
|
virAllocVar(&(ptr), sizeof(*(ptr)), sizeof(type), (count))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VIR_FREE:
|
* VIR_FREE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user