From 467d27418d77165abca93702cf0f4f8eb941113c Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Sun, 10 Dec 2023 13:04:02 +0000 Subject: [PATCH] Follow commenting convention for copyright headers. Use "/*-" as the first line of copyright header comments to ease the process of collecting licensing information from a source tree. This convention for marking copyright header comments is in use in other BSD-licensed open-source projects, such as the FreeBSD and NetBSD operating system projects, elftoolchain, libarchive, tcpdump/libpcap, and others. The convention has been formally documented by the FreeBSD project at [1]. [1]: https://man.freebsd.org/cgi/man.cgi?query=style Using this convention in uthash's source tree eases its import into such downstream projects. It is a no-op for other uses. This is a comment-only change that does not affect code behavior. --- src/utarray.h | 2 +- src/uthash.h | 2 +- src/utlist.h | 2 +- src/utringbuffer.h | 2 +- src/utstack.h | 2 +- src/utstring.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utarray.h b/src/utarray.h index 1fe8bc1..6336f59 100644 --- a/src/utarray.h +++ b/src/utarray.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2008-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved. diff --git a/src/uthash.h b/src/uthash.h index 68693bf..010c7a4 100644 --- a/src/uthash.h +++ b/src/uthash.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2003-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved. diff --git a/src/utlist.h b/src/utlist.h index 08fc59a..258d689 100644 --- a/src/utlist.h +++ b/src/utlist.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2007-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved. diff --git a/src/utringbuffer.h b/src/utringbuffer.h index 6034117..e0c8794 100644 --- a/src/utringbuffer.h +++ b/src/utringbuffer.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2015-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved. diff --git a/src/utstack.h b/src/utstack.h index 94b8c51..2f97faa 100644 --- a/src/utstack.h +++ b/src/utstack.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2018-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved. diff --git a/src/utstring.h b/src/utstring.h index f0270fb..12fd019 100644 --- a/src/utstring.h +++ b/src/utstring.h @@ -1,4 +1,4 @@ -/* +/*- Copyright (c) 2008-2022, Troy D. Hanson https://troydhanson.github.io/uthash/ All rights reserved.