* m4/visibility.m4 (gl_VISIBILITY): Avoid error from simultaneous use of
-Wmissing-prototypes and -Werror.
* lib/stddef.in.h (_GL_STDDEF_ALIGNAS, rpl_max_align_t, max_align_t):
Don't ignore HAVE_MAX_ALIGN_T if the compiler is clang.
+2021-02-13 Ozkan Sezer <sezeroz@gmail.com>
+
+ lib-symbol-visibility: Make it work with -Wmissing-prototypes.
+ * m4/visibility.m4 (gl_VISIBILITY): Avoid error from simultaneous use of
+ -Wmissing-prototypes and -Werror.
+
2021-02-08 Bruno Haible <bruno@clisp.org>
Document non-standard prototypes on MidnightBSD.
-# visibility.m4 serial 6
+# visibility.m4 serial 7
dnl Copyright (C) 2005, 2008, 2010-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
extern __attribute__((__visibility__("default"))) int exportedvar;
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
extern __attribute__((__visibility__("default"))) int exportedfunc (void);
+ void dummyfunc (void);
void dummyfunc (void) {}
]],
[[]])],