mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[HEADERS] Use the new header with SPDX license identifier for host headers I've contributed to and ensure license compliance for pshpack/poppack.
- The pshpack and poppack headers were rewritten from scratch as their current versions came with no license information and included obsolete checks (e.g. for an ancient FreeBSD version). I have put the new ones under CC0-1.0, which is equivalent to Public Domain but legally valid also in jurisdictions which have no concept of Public Domain (e.g. Germany). - Relicense nls.h under CC0-1.0 too. I'd recommend the same for typedefs.h, but I'm not the only contributor to that file. svn path=/trunk/; revision=75985
This commit is contained in:
parent
ea2806e13c
commit
e9bc2c9b4c
14 changed files with 181 additions and 133 deletions
|
@ -1,10 +1,9 @@
|
||||||
/*
|
/*
|
||||||
PROJECT: ReactOS
|
* PROJECT: ReactOS Host Headers
|
||||||
LICENSE: GPL v2 or any later version
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
FILE: include/host/nls.h
|
* PURPOSE: NLS definitions for host tools
|
||||||
PURPOSE: NLS definitions for host tools
|
* COPYRIGHT: Copyright 2007-2017 Colin Finck (colin@reactos.org)
|
||||||
COPYRIGHT: Copyright 2007 Colin Finck <mail@colinfinck.de>
|
*/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _HOST_NLS_H
|
#ifndef _HOST_NLS_H
|
||||||
#define _HOST_NLS_H
|
#define _HOST_NLS_H
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Restores structure packing alignment
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(4)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(pop)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
#pragma pack(pop)
|
||||||
#endif // RC_INVOKED
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 1 byte
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(1)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,1)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 2 bytes
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(2)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,2)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 2)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 4 bytes
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(4)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,4)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 4)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 8 bytes
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(8)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,8)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 8)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS Host Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 16 bytes
|
||||||
# if ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(16)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,16)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 16)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
/*
|
/*
|
||||||
PROJECT: ReactOS
|
* PROJECT: ReactOS Host Headers
|
||||||
LICENSE: GPL v2 or any later version
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||||
FILE: include/host/typedefs.h
|
* PURPOSE: Type definitions and useful macros for host tools
|
||||||
PURPOSE: Type definitions and useful macros for host tools
|
* COPYRIGHT: Copyright 2007 Hervé Poussineau (hpoussin@reactos.org)
|
||||||
COPYRIGHT: Copyright 2007 Hervé Poussineau
|
* Copyright 2007 Colin Finck (colin@reactos.org)
|
||||||
Copyright 2007 Colin Finck <mail@colinfinck.de>
|
*/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _TYPEDEFS_HOST_H
|
#ifndef _TYPEDEFS_HOST_H
|
||||||
#define _TYPEDEFS_HOST_H
|
#define _TYPEDEFS_HOST_H
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Restores structure packing alignment
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(4)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(pop)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
#pragma pack(pop)
|
||||||
#endif // RC_INVOKED
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 1 byte
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(1)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,1)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 2 bytes
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(2)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,2)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 2)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 4 bytes
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(4)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,4)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 4)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 8 bytes
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(8)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,8)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 8)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#ifndef RC_INVOKED
|
/*
|
||||||
#if ( _MSC_VER >= 800 )
|
* PROJECT: ReactOS PSDK Headers
|
||||||
#pragma warning(disable:4103)
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
#endif // _MSC_VER
|
* PURPOSE: Sets structure packing alignment to 16 bytes
|
||||||
# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
|
* COPYRIGHT: Copyright 2017 Colin Finck (colin@reactos.org)
|
||||||
# pragma pack(16)
|
*/
|
||||||
# else
|
|
||||||
# pragma pack(push,16)
|
#if !defined(RC_INVOKED)
|
||||||
# endif // __FreeBSD__
|
|
||||||
#endif // RC_INVOKED
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4103)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 16)
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue