summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-24 14:10:35 -0700
committerGary E. Miller <gem@rellim.com>2019-04-24 14:10:35 -0700
commit405c1d90522da827781c51da8abd6450c3b16e76 (patch)
treece40b08ebee531d932f3b1a3290437f63c17d840
parentd6aab02a5e57a289fe8a9e41ebcacd6788eaf203 (diff)
downloadgpsd-405c1d90522da827781c51da8abd6450c3b16e76.tar.gz
android: Add SPDX licens lines.
-rw-r--r--android/gps_maskdump.c7
-rw-r--r--android/gps_test.c5
-rw-r--r--android/gpsd_config.h3
-rw-r--r--android/packet_names.h5
-rw-r--r--android/revision.h5
-rw-r--r--android/timebase.h3
6 files changed, 27 insertions, 1 deletions
diff --git a/android/gps_maskdump.c b/android/gps_maskdump.c
index e8328d7b..cac822fd 100644
--- a/android/gps_maskdump.c
+++ b/android/gps_maskdump.c
@@ -1,4 +1,9 @@
-/* This is the hand-written Android version, since Android cannot make use of scons */
+/* This is the hand-written Android version, since Android
+ * cannot make use of scons.
+ *
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
+ */
#include <stdio.h>
diff --git a/android/gps_test.c b/android/gps_test.c
index 43455d5d..e1aed913 100644
--- a/android/gps_test.c
+++ b/android/gps_test.c
@@ -1,3 +1,8 @@
+/*
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
+ */
+
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
diff --git a/android/gpsd_config.h b/android/gpsd_config.h
index 21394a65..b02694d6 100644
--- a/android/gpsd_config.h
+++ b/android/gpsd_config.h
@@ -1,6 +1,9 @@
/*
* The Android build system is unable to make use of scons,
* therefore this configuration file has to be prepopulated.
+ *
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
*/
#define VERSION "3.18.1"
diff --git a/android/packet_names.h b/android/packet_names.h
index 044a2a72..23ea6e66 100644
--- a/android/packet_names.h
+++ b/android/packet_names.h
@@ -1,3 +1,8 @@
+/*
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
+ */
+
/* edit packet_states.h to add new packet types. */
"GROUND_STATE", /* we don't know what packet type to expect */
diff --git a/android/revision.h b/android/revision.h
index d6c58afc..b915dcf1 100644
--- a/android/revision.h
+++ b/android/revision.h
@@ -1 +1,6 @@
+/*
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
+ */
+
#define REVISION "android-3.19-dev"
diff --git a/android/timebase.h b/android/timebase.h
index 7c206e0e..9e1ecc99 100644
--- a/android/timebase.h
+++ b/android/timebase.h
@@ -2,6 +2,9 @@
* Constants used for GPS time detection and rollover correction.
*
* Correct for week beginning 2019-04-18T00:00:00
+ *
+ * This file is Copyright (c) 2019 by the GPSD project
+ * SPDX-License-Identifier: BSD-2-clause
*/
#define BUILD_CENTURY 2000
#define BUILD_WEEK 2 # Assumes 10-bit week counter