clean up printf
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Jul 2019 10:18:35 +0000 (12:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Jul 2019 10:18:35 +0000 (12:18 +0200)
commitf8d4dd25732f518001bfbec1fae01902edabcb4b
treebdf618127537a71349b5b3fd412d2fb487ad5a49
parent0f147388c0c23a2f7267ee0bf58333939d7a5d84
clean up printf

printf is avoiding switch statements so that it can be used in
very early startup, before jump tables can be read from the F segment.
We could use -fno-jump-tables, but we can also keep the if statements
and clean them up so that the indentation is fine.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
printf.c