From c227f0995e1722a1abccc28cadf0664266bd8043 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 1 Oct 2009 16:12:16 -0500 Subject: 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 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori --- hw/ppc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hw/ppc.h') diff --git a/hw/ppc.h b/hw/ppc.h index c2a56c3..4b481af 100644 --- a/hw/ppc.h +++ b/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); -- cgit v1.1