qdev: avoid type casts between signed and unsigned
[qemu/ar7.git] / include / sysemu / rng-random.h
blob38186fe83d5b45f79fbda64f021e5ff4a86b7319
1 /*
2 * QEMU Random Number Generator Backend
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
12 #ifndef QEMU_RNG_RANDOM_H
13 #define QEMU_RNG_RANDOM_H
15 #include "qom/object.h"
17 #define TYPE_RNG_RANDOM "rng-random"
18 #define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
20 typedef struct RngRandom RngRandom;
22 #endif