summaryrefslogtreecommitdiff
path: root/gl/lib/gl_xlist.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2023-09-23 22:11:07 +0100
committerColin Watson <cjwatson@debian.org>2023-09-23 22:11:07 +0100
commit10ffa2be71a9ba46c4328b3792a2001f4092625d (patch)
treec643da154a95a1d163137135050bb47858a1654e /gl/lib/gl_xlist.h
parent0a730625ad4880fdd63fc21efb1b18966042c2f4 (diff)
parent407693f34f450050ecdbe9ad3147c8afa0e7616b (diff)
Import man-db_2.12.0.orig.tar.xz
Diffstat (limited to 'gl/lib/gl_xlist.h')
-rw-r--r--gl/lib/gl_xlist.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gl/lib/gl_xlist.h b/gl/lib/gl_xlist.h
index abef3838..91ed804b 100644
--- a/gl/lib/gl_xlist.h
+++ b/gl/lib/gl_xlist.h
@@ -1,5 +1,5 @@
/* Abstract sequential list data type, with out-of-memory checking.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2009.
This program is free software: you can redistribute it and/or modify
@@ -18,12 +18,15 @@
#ifndef _GL_XLIST_H
#define _GL_XLIST_H
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
+ _GL_ATTRIBUTE_RETURNS_NONNULL. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include "gl_list.h"
#include "xalloc.h"
-#ifndef _GL_INLINE_HEADER_BEGIN
- #error "Please include config.h first."
-#endif
_GL_INLINE_HEADER_BEGIN
#ifndef GL_XLIST_INLINE
# define GL_XLIST_INLINE _GL_INLINE