summaryrefslogtreecommitdiffstats
path: root/gl/fopen.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 14:57:57 +0100
committerGitHub <noreply@github.com>2026-01-09 14:57:57 +0100
commitda4fb28fca51b180d50608b0c847b1c0927cd8c5 (patch)
treed20769e0a61ac2ba76920190050d3e0a3e7c85b7 /gl/fopen.c
parentb09a8b530df8a23610889d0b89b148f22db3568a (diff)
parentf694f4cd4dfead0da6feab04d92335d9bbe185b6 (diff)
downloadmonitoring-plugins-da4fb28fca51b180d50608b0c847b1c0927cd8c5.tar.gz
Merge branch 'master' into refactor/check_ide_smart
Diffstat (limited to 'gl/fopen.c')
-rw-r--r--gl/fopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/fopen.c b/gl/fopen.c
index d3b57a98..41587d2c 100644
--- a/gl/fopen.c
+++ b/gl/fopen.c
@@ -1,5 +1,5 @@
1/* Open a stream to a file. 1/* Open a stream to a file.
2 Copyright (C) 2007-2024 Free Software Foundation, Inc. 2 Copyright (C) 2007-2025 Free Software Foundation, Inc.
3 3
4 This file is free software: you can redistribute it and/or modify 4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as 5 it under the terms of the GNU Lesser General Public License as
@@ -19,12 +19,12 @@
19/* If the user's config.h happens to include <stdio.h>, let it include only 19/* If the user's config.h happens to include <stdio.h>, let it include only
20 the system's <stdio.h> here, so that orig_fopen doesn't recurse to 20 the system's <stdio.h> here, so that orig_fopen doesn't recurse to
21 rpl_fopen. */ 21 rpl_fopen. */
22#define _GL_ALREADY_INCLUDING_STDIO_H 22#define _GL_SKIP_GNULIB_STDIO_H
23#include <config.h> 23#include <config.h>
24 24
25/* Get the original definition of fopen. It might be defined as a macro. */ 25/* Get the original definition of fopen. It might be defined as a macro. */
26#include <stdio.h> 26#include <stdio.h>
27#undef _GL_ALREADY_INCLUDING_STDIO_H 27#undef _GL_SKIP_GNULIB_STDIO_H
28 28
29static FILE * 29static FILE *
30orig_fopen (const char *filename, const char *mode) 30orig_fopen (const char *filename, const char *mode)