Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/sntp/libopts Add FALLTHROUGH
details: https://anonhg.NetBSD.org/src/rev/31c90a8d11f6
branches: trunk
changeset: 972414:31c90a8d11f6
user: christos <christos%NetBSD.org@localhost>
date: Mon May 25 20:54:07 2020 +0000
description:
Add FALLTHROUGH
diffstat:
external/bsd/ntp/dist/sntp/libopts/boolean.c | 4 ++--
external/bsd/ntp/dist/sntp/libopts/configfile.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 7f0c274f4888 -r 31c90a8d11f6 external/bsd/ntp/dist/sntp/libopts/boolean.c
--- a/external/bsd/ntp/dist/sntp/libopts/boolean.c Mon May 25 20:47:18 2020 +0000
+++ b/external/bsd/ntp/dist/sntp/libopts/boolean.c Mon May 25 20:54:07 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boolean.c,v 1.5 2020/05/25 20:47:34 christos Exp $ */
+/* $NetBSD: boolean.c,v 1.6 2020/05/25 20:54:07 christos Exp $ */
/**
@@ -66,8 +66,8 @@
long val = strtol(od->optArg.argString, &pz, 0);
if ((val != 0) || (*pz != NUL))
break;
- /* FALLTHROUGH */
}
+ /*FALLTHROUGH*/
case 'N':
case 'n':
case 'F':
diff -r 7f0c274f4888 -r 31c90a8d11f6 external/bsd/ntp/dist/sntp/libopts/configfile.c
--- a/external/bsd/ntp/dist/sntp/libopts/configfile.c Mon May 25 20:47:18 2020 +0000
+++ b/external/bsd/ntp/dist/sntp/libopts/configfile.c Mon May 25 20:54:07 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: configfile.c,v 1.9 2020/05/25 20:47:34 christos Exp $ */
+/* $NetBSD: configfile.c,v 1.10 2020/05/25 20:54:07 christos Exp $ */
/**
* \file configfile.c
@@ -468,7 +468,7 @@
ftext = strchr(ftext + 2, '>');
if (ftext++ != NULL)
break;
-
+ /*FALLTHROUGH*/
default:
ftext = NULL;
}
Home |
Main Index |
Thread Index |
Old Index