summaryrefslogtreecommitdiff
path: root/lib/string.in.h
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-23 11:52:18 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-23 11:52:18 +0200
commitfafc9c21175ee50df84114a09e9f43f02c960b85 (patch)
treebd07feaed951d7bd49ed53d65bb2e6082a6c1196 /lib/string.in.h
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
parent4e97019a77731d634e6b059954c8fef792c11fa8 (diff)
downloademacs-fafc9c21175ee50df84114a09e9f43f02c960b85.tar.gz
emacs-fafc9c21175ee50df84114a09e9f43f02c960b85.tar.bz2
emacs-fafc9c21175ee50df84114a09e9f43f02c960b85.zip
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lib/string.in.h')
-rw-r--r--lib/string.in.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/string.in.h b/lib/string.in.h
index 7d83668f6ec..5134e11289d 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -1045,6 +1045,21 @@ _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - "
# endif
#endif
+/* Return an abbreviation string for the signal number SIG. */
+#if @GNULIB_SIGABBREV_NP@
+# if ! @HAVE_SIGABBREV_NP@
+_GL_FUNCDECL_SYS (sigabbrev_np, const char *, (int sig));
+# endif
+_GL_CXXALIAS_SYS (sigabbrev_np, const char *, (int sig));
+_GL_CXXALIASWARN (sigabbrev_np);
+#elif defined GNULIB_POSIXCHECK
+# undef sigabbrev_np
+# if HAVE_RAW_DECL_SIGABBREV_NP
+_GL_WARN_ON_USE (sigabbrev_np, "sigabbrev_np is unportable - "
+ "use gnulib module sigabbrev_np for portability");
+# endif
+#endif
+
#if @GNULIB_STRSIGNAL@
# if @REPLACE_STRSIGNAL@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)