]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/: GSHADOW: Remove unused macro
authorAlejandro Colomar <alx@kernel.org>
Sun, 10 Nov 2024 22:00:19 +0000 (23:00 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Tue, 7 Oct 2025 09:03:09 +0000 (11:03 +0200)
And with it, the file that defines it, which does nothing else.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/defines.h
lib/gshadow_.h [deleted file]

index 10b7d176c0550816efa469a2c2e6e4c5af30cf0d..d5ec99a0787cf83bd4c498b14bb9ebdee08460ab 100644 (file)
@@ -325,5 +325,4 @@ endif
 
 EXTRA_DIST = \
        .indent.pro \
-       gshadow_.h \
        xgetXXbyYY.c
index e478552eb1be880bfa5722e87a30b1767ee51c8d..219724c9f303a1f5ab656d0acebd148b75f39df0 100644 (file)
@@ -51,9 +51,6 @@
 #include <dirent.h>
 
 #include <shadow.h>
-#if defined(SHADOWGRP)
-#include "gshadow_.h"
-#endif
 
 #include <limits.h>
 
diff --git a/lib/gshadow_.h b/lib/gshadow_.h
deleted file mode 100644 (file)
index f2015dc..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// SPDX-FileCopyrightText: 1988-1994, Julianne Frances Haugh
-// SPDX-FileCopyrightText: 1996-1997, Marek Michałkiewicz
-// SPDX-FileCopyrightText: 2003-2005, Tomasz Kłoczko
-// SPDX-FileCopyrightText: 2024, Alejandro Colomar <alx@kernel.org>
-// SPDX-License-Identifier: BSD-3-Clause
-
-
-#ifndef SHADOW_INCLUDE_LIB_GSHADOW__H_
-#define SHADOW_INCLUDE_LIB_GSHADOW__H_
-
-
-#if __has_include(<gshadow.h>)
-# include <gshadow.h>
-#else
-
-
-#include <config.h>
-
-
-#define        GSHADOW "/etc/gshadow"
-
-
-#endif  // !__has_include(<gshadow.h>)
-#endif  // include guard