summaryrefslogtreecommitdiff
path: root/lib/mbuiter.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mbuiter.h')
-rw-r--r--lib/mbuiter.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/mbuiter.h b/lib/mbuiter.h
index 8e87c5c..7a619f1 100644
--- a/lib/mbuiter.h
+++ b/lib/mbuiter.h
@@ -1,9 +1,9 @@
/* Iterating through multibyte strings: macros for multi-byte encodings.
- Copyright (C) 2001, 2005, 2007, 2009-2021 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2005, 2007, 2009-2023 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 3 of the
+ published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This file is distributed in the hope that it will be useful,
@@ -89,8 +89,12 @@
#ifndef _MBUITER_H
#define _MBUITER_H 1
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#include <assert.h>
-#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -99,9 +103,6 @@
#include "mbchar.h"
#include "strnlen1.h"
-#ifndef _GL_INLINE_HEADER_BEGIN
- #error "Please include config.h first."
-#endif
_GL_INLINE_HEADER_BEGIN
#ifndef MBUITER_INLINE
# define MBUITER_INLINE _GL_INLINE