summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/cdefs.h1
-rw-r--r--misc/sys/syslog.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 8d529bfadc..6f562e56d0 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -130,6 +130,7 @@
/* Fortify support. */
#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
#define __bos0(ptr) __builtin_object_size (ptr, 0)
+#define __warndecl(name, msg) extern void name (void)
/* Support for flexible arrays. */
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h
index ace88a0979..5007525d85 100644
--- a/misc/sys/syslog.h
+++ b/misc/sys/syslog.h
@@ -168,7 +168,7 @@ CODE facilitynames[] =
__BEGIN_DECLS
-/* Close desriptor used to write to system logger.
+/* Close descriptor used to write to system logger.
This function is a possible cancellation point and therefore not
marked with __THROW. */