Reformat .h files.

I did my best to exempt some of the bigger aligned blocks from the reformatting
using the /* clang-format off */ and /* clang-format on */ tags. Probably some
that shouldn't have been formatted were anyway; if you encounter them, please
fix.

The clang-format tags were left in on the basis that it's much easier to prune
those out later than to put them back in, and it means that, modulo my custom
version of clang-format, I should be able to run clang-format on the source tree
again without changing anything, now that Pat has fixed the VA_DECL issues.
This commit is contained in:
Sean Hunt
2015-05-25 09:03:10 +09:00
parent 26ee7dc370
commit 8b57d96fd2
156 changed files with 10712 additions and 10701 deletions

View File

@@ -1,7 +1,8 @@
/* NetHack 3.6 win32api.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
/* NetHack 3.6 win32api.h $Date: 2009/05/06 10:53:39 $ $Revision: 1.6 $ */
/* SCCS Id: @(#)win32api.h 3.5 $NHDT-Date$ */
/* SCCS Id: @(#)win32api.h 3.5 $Date: 2009/05/06 10:53:39 $ */
/* SCCS Id: @(#)win32api.h 3.5 $Date: 2009/05/06 10:53:39 $
*/
/* Copyright (c) NetHack PC Development Team 1996 */
/* NetHack may be freely redistributed. See license for details. */
@@ -10,21 +11,21 @@
* header files & NetHack before including windows.h, so all NetHack
* files should include "win32api.h" rather than <windows.h>.
*/
# if defined(_MSC_VER)
# undef strcmpi
# undef min
# undef max
# pragma warning(disable:4142) /* Warning, Benign redefinition of type */
# pragma pack(8)
# endif
#if defined(_MSC_VER)
#undef strcmpi
#undef min
#undef max
#pragma warning(disable : 4142) /* Warning, Benign redefinition of type */
#pragma pack(8)
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commctrl.h>
# if defined(_MSC_VER)
# pragma pack()
# endif
#if defined(_MSC_VER)
#pragma pack()
#endif
/*win32api.h*/