commit 8e3aa64e07fe35ab2369e004d1c9f5cb69364f60
parent 7f9420ca47d5751a0ac99d3f1d991846096b96ae
Author: Frederic Cambus <fred@statdns.com>
Date: Sat, 19 Jan 2019 14:35:16 +0100
Use lighter file headers everywhere.
Diffstat:
11 files changed, 121 insertions(+), 143 deletions(-)
diff --git a/src/config.c b/src/config.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
char *methodsNames[] = {
"GET",
diff --git a/src/config.h b/src/config.h
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#ifndef CONFIG_H
#define CONFIG_H
diff --git a/src/continents.c b/src/continents.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
char *continentsId[] = {
"AF",
diff --git a/src/continents.h b/src/continents.h
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#ifndef CONTINENTS_H
#define CONTINENTS_H
diff --git a/src/countries.c b/src/countries.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
char *countriesId[] = {
"AD",
diff --git a/src/countries.h b/src/countries.h
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#ifndef COUNTRIES_H
#define COUNTRIES_H
diff --git a/src/logswan.c b/src/logswan.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 199309L
diff --git a/src/output.c b/src/output.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#include <stdint.h>
diff --git a/src/output.h b/src/output.h
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#ifndef OUTPUT_H
#define OUTPUT_H
diff --git a/src/parse.c b/src/parse.c
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#include <string.h>
diff --git a/src/parse.h b/src/parse.h
@@ -1,16 +1,14 @@
-/*****************************************************************************/
-/* */
-/* Logswan 2.0.3 */
-/* Copyright (c) 2015-2019, Frederic Cambus */
-/* https://www.logswan.org */
-/* */
-/* Created: 2015-05-31 */
-/* Last Updated: 2018-10-15 */
-/* */
-/* Logswan is released under the BSD 2-Clause license. */
-/* See LICENSE file for details. */
-/* */
-/*****************************************************************************/
+/*
+ * Logswan 2.0.3
+ * Copyright (c) 2015-2019, Frederic Cambus
+ * https://www.logswan.org
+ *
+ * Created: 2015-05-31
+ * Last Updated: 2019-01-19
+ *
+ * Logswan is released under the BSD 2-Clause license.
+ * See LICENSE file for details.
+ */
#ifndef PARSE_H
#define PARSE_H