summaryrefslogtreecommitdiffstats
path: root/gl/dirname.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
commit21c39515903c34bc6428a544c88cf1c100786847 (patch)
treec9d0465e24cc3148c84c2fee191f2b1bfc71b841 /gl/dirname.h
parented01d534474cc640515f1d5155349f14090aafe9 (diff)
parent5d7d620903a2fb40f8cd3140081bfb7ceaf125d5 (diff)
downloadmonitoring-plugins-21c39515903c34bc6428a544c88cf1c100786847.tar.gz
Merge branch 'master' into check_swap_again
Diffstat (limited to 'gl/dirname.h')
-rw-r--r--gl/dirname.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gl/dirname.h b/gl/dirname.h
index f98e83bd..33935ba9 100644
--- a/gl/dirname.h
+++ b/gl/dirname.h
@@ -1,6 +1,6 @@
1/* Take file names apart into directory and base names. 1/* Take file names apart into directory and base names.
2 2
3 Copyright (C) 1998, 2001, 2003-2006, 2009-2023 Free Software Foundation, 3 Copyright (C) 1998, 2001, 2003-2006, 2009-2024 Free Software Foundation,
4 Inc. 4 Inc.
5 5
6 This file is free software: you can redistribute it and/or modify 6 This file is free software: you can redistribute it and/or modify
@@ -19,6 +19,12 @@
19#ifndef DIRNAME_H_ 19#ifndef DIRNAME_H_
20# define DIRNAME_H_ 1 20# define DIRNAME_H_ 1
21 21
22/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_PURE,
23 _GL_ATTRIBUTE_RETURNS_NONNULL. */
24#if !_GL_CONFIG_H_INCLUDED
25 #error "Please include config.h first."
26#endif
27
22# include <stdlib.h> 28# include <stdlib.h>
23# include "filename.h" 29# include "filename.h"
24# include "basename-lgpl.h" 30# include "basename-lgpl.h"