mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
utils: rename strtosz to use qemu prefix
Not only it makes sense, but it gets rid of checkpatch warning: WARNING: consider using qemu_strtosz in preference to strtosz Also remove get rid of tabs to please checkpatch. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1442419377-9309-1-git-send-email-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
48bec07e8d
commit
4677bb40f8
7 changed files with 36 additions and 33 deletions
|
@ -136,7 +136,7 @@ static char **breakline(char *input, int *count)
|
|||
static int64_t cvtnum(const char *s)
|
||||
{
|
||||
char *end;
|
||||
return strtosz_suffix(s, &end, STRTOSZ_DEFSUFFIX_B);
|
||||
return qemu_strtosz_suffix(s, &end, QEMU_STRTOSZ_DEFSUFFIX_B);
|
||||
}
|
||||
|
||||
#define EXABYTES(x) ((long long)(x) << 60)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue