mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
6
hw/ppc.h
6
hw/ppc.h
|
@ -1,11 +1,11 @@
|
|||
/* PowerPC hardware exceptions management helpers */
|
||||
typedef void (*clk_setup_cb)(void *opaque, uint32_t freq);
|
||||
typedef struct clk_setup a_clk_setup;
|
||||
struct clk_setup {
|
||||
typedef struct clk_setup_t clk_setup_t;
|
||||
struct clk_setup_t {
|
||||
clk_setup_cb cb;
|
||||
void *opaque;
|
||||
};
|
||||
static inline void clk_setup (a_clk_setup *clk, uint32_t freq)
|
||||
static inline void clk_setup (clk_setup_t *clk, uint32_t freq)
|
||||
{
|
||||
if (clk->cb != NULL)
|
||||
(*clk->cb)(clk->opaque, freq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue