mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 01:12:17 +08:00
catgets: Remove catgets/config.h
It simplifies the code a bit and avoid the clang warning: ./config.h:12:2: error: #include_next in file found relative to primary source file or found by absolute path; will search from start of include path [-Werror,-Winclude-next-absolute-path] #include_next <config.h> ^ Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#ifndef _CG_CONFIG_H
|
||||
#define _CG_CONFIG_H
|
||||
|
||||
/* Use the internal textdomain used for libc messages. */
|
||||
#define PACKAGE _libc_intl_domainname
|
||||
#ifndef VERSION
|
||||
/* Get libc version number. */
|
||||
#include "../version.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include_next <config.h>
|
||||
|
||||
#endif
|
||||
@@ -14,8 +14,9 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define PACKAGE _libc_intl_domainname
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <argp.h>
|
||||
|
||||
Reference in New Issue
Block a user