[HEADERS] Use the new header with SPDX license identifier for host headers I've contr...
authorColin Finck <colin@reactos.org>
Fri, 29 Sep 2017 10:10:26 +0000 (10:10 +0000)
committerColin Finck <colin@reactos.org>
Fri, 29 Sep 2017 10:10:26 +0000 (10:10 +0000)
- 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

14 files changed:
reactos/sdk/include/host/nls.h
reactos/sdk/include/host/poppack.h
reactos/sdk/include/host/pshpack1.h
reactos/sdk/include/host/pshpack2.h
reactos/sdk/include/host/pshpack4.h
reactos/sdk/include/host/pshpack8.h
reactos/sdk/include/host/pshpck16.h
reactos/sdk/include/host/typedefs.h
reactos/sdk/include/psdk/poppack.h
reactos/sdk/include/psdk/pshpack1.h
reactos/sdk/include/psdk/pshpack2.h
reactos/sdk/include/psdk/pshpack4.h
reactos/sdk/include/psdk/pshpack8.h
reactos/sdk/include/psdk/pshpck16.h

index 076a444..9ed7201 100644 (file)
@@ -1,10 +1,9 @@
 /*
-  PROJECT:    ReactOS
-  LICENSE:    GPL v2 or any later version
-  FILE:       include/host/nls.h
-  PURPOSE:    NLS definitions for host tools
-  COPYRIGHT:  Copyright 2007 Colin Finck <mail@colinfinck.de>
-*/
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     NLS definitions for host tools
+ * COPYRIGHT:   Copyright 2007-2017 Colin Finck (colin@reactos.org)
+ */
 
 #ifndef _HOST_NLS_H
 #define _HOST_NLS_H
index a59ce8d..44fbe99 100644 (file)
@@ -1,10 +1,10 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(4)
-# else
-#  pragma pack(pop)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Restores structure packing alignment
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+#pragma pack(pop)
+#endif
index 278e728..62f98bb 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(1)
-# else
-#  pragma pack(push,1)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 1 byte
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 1)
+#endif
index 0e3038c..5acb344 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(2)
-# else
-#  pragma pack(push,2)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 2 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 2)
+#endif
index cba005c..a4f2477 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(4)
-# else
-#  pragma pack(push,4)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 4 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 4)
+#endif
index 8ca507f..20a66b4 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(8)
-# else
-#  pragma pack(push,8)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 8 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 8)
+#endif
index 83d3329..87c76d3 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if ( __FreeBSD__ == 5 )
-#  pragma pack(16)
-# else
-#  pragma pack(push,16)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 16 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 16)
+#endif
index 5ccdbff..d3bea3b 100644 (file)
@@ -1,11 +1,10 @@
 /*
-  PROJECT:    ReactOS
-  LICENSE:    GPL v2 or any later version
-  FILE:       include/host/typedefs.h
-  PURPOSE:    Type definitions and useful macros for host tools
-  COPYRIGHT:  Copyright 2007 HervĂ© Poussineau
-              Copyright 2007 Colin Finck <mail@colinfinck.de>
-*/
+ * PROJECT:     ReactOS Host Headers
+ * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
+ * PURPOSE:     Type definitions and useful macros for host tools
+ * COPYRIGHT:   Copyright 2007 HervĂ© Poussineau (hpoussin@reactos.org)
+ *              Copyright 2007 Colin Finck (colin@reactos.org)
+ */
 
 #ifndef _TYPEDEFS_HOST_H
 #define _TYPEDEFS_HOST_H
index eff22ca..40fb22f 100644 (file)
@@ -1,10 +1,10 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(4)
-# else
-#  pragma pack(pop)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Restores structure packing alignment
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+#pragma pack(pop)
+#endif
index f7bbb42..b307e42 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(1)
-# else
-#  pragma pack(push,1)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 1 byte
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 1)
+#endif
index e429f94..7857bbb 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(2)
-# else
-#  pragma pack(push,2)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 2 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 2)
+#endif
index b3899c4..ace55d9 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(4)
-# else
-#  pragma pack(push,4)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 4 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 4)
+#endif
index 32e71dd..17e7330 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(8)
-# else
-#  pragma pack(push,8)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 8 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 8)
+#endif
index 0e2ce6a..1aa6dc3 100644 (file)
@@ -1,10 +1,15 @@
-#ifndef RC_INVOKED
-#if ( _MSC_VER >= 800 )
-#pragma warning(disable:4103)
-#endif // _MSC_VER
-# if defined(__FreeBSD__) && ( __FreeBSD__ == 5 )
-#  pragma pack(16)
-# else
-#  pragma pack(push,16)
-# endif // __FreeBSD__
-#endif // RC_INVOKED
+/*
+ * PROJECT:     ReactOS PSDK Headers
+ * LICENSE:     CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
+ * PURPOSE:     Sets structure packing alignment to 16 bytes
+ * COPYRIGHT:   Copyright 2017 Colin Finck (colin@reactos.org)
+ */
+
+#if !defined(RC_INVOKED)
+
+#if defined(_MSC_VER)
+#pragma warning(disable: 4103)
+#endif
+
+#pragma pack(push, 16)
+#endif