commit 20777a86af49c2309f4855d3c762eaa76c2deb7a
parent c6a2907ab779d549c72a506e9925af6f232ede3b
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 28 Oct 2018 15:43:16 +0100
Stop abusing C++ style comments in files header
Diffstat:
20 files changed, 220 insertions(+), 200 deletions(-)
diff --git a/include/ansilove.h b/include/ansilove.h
@@ -1,13 +1,14 @@
-//
-// ansilove.h
-// AnsiLove/C
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * ansilove.h
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#ifndef ansilove_h
#define ansilove_h
diff --git a/src/clean.c b/src/clean.c
@@ -1,13 +1,14 @@
-//
-// clean.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * clean.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <stddef.h>
#include "ansilove.h"
diff --git a/src/config.h b/src/config.h
@@ -1,13 +1,14 @@
-//
-// config.h
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * config.h
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#ifndef config_h
#define config_h
diff --git a/src/drawchar.c b/src/drawchar.c
@@ -1,13 +1,14 @@
-//
-// drawchar.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * drawchar.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <inttypes.h>
#include <gd.h>
diff --git a/src/drawchar.h b/src/drawchar.h
@@ -1,13 +1,14 @@
-//
-// drawchar.h
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * drawchar.h
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <sys/types.h>
diff --git a/src/error.c b/src/error.c
@@ -1,13 +1,14 @@
-//
-// error.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * error.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <stddef.h>
#include "ansilove.h"
diff --git a/src/fonts.c b/src/fonts.c
@@ -1,13 +1,14 @@
-//
-// fonts.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * fonts.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include "ansilove.h"
#include "fonts.h"
diff --git a/src/fonts.h b/src/fonts.h
@@ -1,13 +1,14 @@
-//
-// fonts.h
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * fonts.h
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/init.c b/src/init.c
@@ -1,13 +1,14 @@
-//
-// init.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * init.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <string.h>
#include "ansilove.h"
diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c
@@ -1,13 +1,14 @@
-//
-// ansi.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * ansi.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#define _XOPEN_SOURCE 700
#define _NETBSD_SOURCE
diff --git a/src/loaders/artworx.c b/src/loaders/artworx.c
@@ -1,13 +1,14 @@
-//
-// artworx.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * artworx.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stddef.h>
diff --git a/src/loaders/binary.c b/src/loaders/binary.c
@@ -1,13 +1,14 @@
-//
-// binary.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * binary.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stddef.h>
diff --git a/src/loaders/icedraw.c b/src/loaders/icedraw.c
@@ -1,13 +1,14 @@
-//
-// icedraw.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * icedraw.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stdint.h>
diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c
@@ -1,13 +1,14 @@
-//
-// pcboard.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * pcboard.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stdint.h>
diff --git a/src/loaders/tundra.c b/src/loaders/tundra.c
@@ -1,13 +1,14 @@
-//
-// tundra.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * tundra.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stddef.h>
diff --git a/src/loaders/xbin.c b/src/loaders/xbin.c
@@ -1,13 +1,14 @@
-//
-// xbin.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * xbin.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include <stdint.h>
diff --git a/src/loadfile.c b/src/loadfile.c
@@ -1,13 +1,14 @@
-//
-// loadfile.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * loadfile.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <fcntl.h>
#include <stddef.h>
diff --git a/src/output.c b/src/output.c
@@ -1,13 +1,14 @@
-//
-// output.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * output.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
#include "ansilove.h"
diff --git a/src/output.h b/src/output.h
@@ -1,13 +1,14 @@
-//
-// output.h
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * output.h
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <gd.h>
diff --git a/src/savefile.c b/src/savefile.c
@@ -1,13 +1,14 @@
-//
-// savefile.c
-// libansilove 1.0.0
-//
-// Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus.
-// All rights reserved.
-//
-// This source code is licensed under the BSD 2-Clause License.
-// See the LICENSE file for details.
-//
+/*
+ * savefile.c
+ * libansilove 1.0.0
+ * https://www.ansilove.org
+ *
+ * Copyright (c) 2011-2018 Stefan Vogt, Brian Cassidy, and Frederic Cambus
+ * All rights reserved.
+ *
+ * libansilove is licensed under the BSD 2-Clause License.
+ * See LICENSE file for details.
+ */
#include <stdio.h>
#include "ansilove.h"