Module Name: src
Committed By: rillig
Date: Sun Sep 8 18:13:07 UTC 2024
Modified Files:
src/include: stdnoreturn.h time.h
Log Message:
include: C11 has been released
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/include/stdnoreturn.h
cvs rdiff -u -r1.49 -r1.50 src/include/time.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/stdnoreturn.h
diff -u src/include/stdnoreturn.h:1.1 src/include/stdnoreturn.h:1.2
--- src/include/stdnoreturn.h:1.1 Sun Oct 2 13:09:24 2016
+++ src/include/stdnoreturn.h Sun Sep 8 18:13:07 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: stdnoreturn.h,v 1.1 2016/10/02 13:09:24 kamil Exp $ */
+/* $NetBSD: stdnoreturn.h,v 1.2 2024/09/08 18:13:07 rillig Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#ifndef _STDNORETURN_H_
#define _STDNORETURN_H_
-/* ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h> */
+/* ISO/IEC 9899:2011 7.23 _Noreturn <stdnoreturn.h> */
#ifndef __noreturn_is_defined
#define noreturn _Noreturn
Index: src/include/time.h
diff -u src/include/time.h:1.49 src/include/time.h:1.50
--- src/include/time.h:1.49 Sat Aug 19 08:54:36 2023
+++ src/include/time.h Sun Sep 8 18:13:07 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.49 2023/08/19 08:54:36 rillig Exp $ */
+/* $NetBSD: time.h,v 1.50 2024/09/08 18:13:07 rillig Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -137,7 +137,7 @@ struct tm *getdate(const char *);
extern int getdate_err;
#endif
-/* ISO/IEC 9899:201x 7.27.1/3 Components of time */
+/* ISO/IEC 9899:2011 7.27.1/3 Components of time */
#include <sys/timespec.h>
#if (_POSIX_C_SOURCE - 0) >= 199309L || (_XOPEN_SOURCE - 0) >= 500 || \
@@ -234,7 +234,7 @@ char *strptime_l(const char * __restrict
#endif /* _NETBSD_SOURCE */
-/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
+/* ISO/IEC 9899:2011 7.27.2.5 The timespec_get function */
#define TIME_UTC 1 /* time elapsed since epoch */
int timespec_get(struct timespec *ts, int base);