From ab8787a1fa35c82ed98567b977026e9115d867fb Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Tue, 14 Oct 2025 09:43:54 -0700 Subject: [PATCH] Rename "headers" directory to "templates", add .h template Rename the "headers" directory to "templates", and rename the files within as template.* with the appropriate file types so that editors will pick up the correct type. Add a .h file template. Signed-off-by: H. Peter Anvin (Intel) --- headers/asm => templates/template.asm | 0 headers/c => templates/template.c | 0 templates/template.h | 11 +++++++++++ headers/make => templates/template.mk | 0 headers/perl => templates/template.pl | 0 headers/sh => templates/template.sh | 0 headers/doc => templates/template.src | 0 7 files changed, 11 insertions(+) rename headers/asm => templates/template.asm (100%) rename headers/c => templates/template.c (100%) create mode 100644 templates/template.h rename headers/make => templates/template.mk (100%) rename headers/perl => templates/template.pl (100%) rename headers/sh => templates/template.sh (100%) rename headers/doc => templates/template.src (100%) diff --git a/headers/asm b/templates/template.asm similarity index 100% rename from headers/asm rename to templates/template.asm diff --git a/headers/c b/templates/template.c similarity index 100% rename from headers/c rename to templates/template.c diff --git a/templates/template.h b/templates/template.h new file mode 100644 index 00000000..7e0bc8a4 --- /dev/null +++ b/templates/template.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ +/* Copyright 1996-20xx The NASM Authors - All Rights Reserved */ + +#ifndef FILENAME_H +#define FILENAME_H + +#include "compiler.h" + +/* Code goes here */ + +#endif /* FILENAME_H */ diff --git a/headers/make b/templates/template.mk similarity index 100% rename from headers/make rename to templates/template.mk diff --git a/headers/perl b/templates/template.pl similarity index 100% rename from headers/perl rename to templates/template.pl diff --git a/headers/sh b/templates/template.sh similarity index 100% rename from headers/sh rename to templates/template.sh diff --git a/headers/doc b/templates/template.src similarity index 100% rename from headers/doc rename to templates/template.src