texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/XS/parsetexi/debug.h: Change include


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/debug.h: Change include guard symbol to avoid clash with Perl headers. Report from Werner. Remove copyright notice, as this file is trivial.
Date: Wed, 17 May 2023 15:20:03 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 5765d18418 * tp/Texinfo/XS/parsetexi/debug.h: Change include guard 
symbol to avoid clash with Perl headers.  Report from Werner.  Remove copyright 
notice, as this file is trivial.
5765d18418 is described below

commit 5765d184186a48e16a0d58a235c76ac0f53e833c
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed May 17 20:19:54 2023 +0100

    * tp/Texinfo/XS/parsetexi/debug.h: Change include guard symbol to
    avoid clash with Perl headers.  Report from Werner.  Remove copyright
    notice, as this file is trivial.
---
 ChangeLog                       |  6 ++++++
 tp/Texinfo/XS/parsetexi/debug.h | 19 ++++---------------
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d2385ac332..d1b006b2aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-05-17  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/XS/parsetexi/debug.h: Change include guard symbol to
+       avoid clash with Perl headers.  Report from Werner.  Remove copyright
+       notice, as this file is trivial.
+
 2023-05-05  Gavin Smith <gavinsmith0123@gmail.com>
 
        @link for HTML
diff --git a/tp/Texinfo/XS/parsetexi/debug.h b/tp/Texinfo/XS/parsetexi/debug.h
index 7b7664c2b5..61c48fea6b 100644
--- a/tp/Texinfo/XS/parsetexi/debug.h
+++ b/tp/Texinfo/XS/parsetexi/debug.h
@@ -1,20 +1,9 @@
 /* debug.h - declarations for debug.c */
-#ifndef DEBUG_H
-#define DEBUG_H
-/* Copyright 2023 Free Software Foundation, Inc.
+#ifndef TEXINFO_DEBUG_H
+#define TEXINFO_DEBUG_H
 
-   This program is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>. */
+/* We define TEXINFO_DEBUG_H instead of DEBUG_H to avoid a clash with Perl
+   header files in some versions of Perl. */
 
 #include "tree_types.h"
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]