From 24c4d5b06d231785db01500360c26815d8fe4d15 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 7 Mar 2007 12:11:48 +0000 Subject: (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; --- src/command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 91ee39379..ace80dc89 100644 --- a/src/command.h +++ b/src/command.h @@ -176,10 +176,10 @@ enum { typedef int32 CommandProc(TileIndex tile, uint32 flags, uint32 p1, uint32 p2); -typedef struct Command { +struct Command { CommandProc *proc; byte flags; -} Command; +}; //#define return_cmd_error(errcode) do { _error_message=(errcode); return CMD_ERROR; } while(0) #define return_cmd_error(errcode) do { return CMD_ERROR | (errcode); } while (0) -- cgit v1.2.3-54-g00ecf