Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/xlint/lint1 one t in literal.
details: https://anonhg.NetBSD.org/src/rev/6bff2126357c
branches: trunk
changeset: 338132:6bff2126357c
user: christos <christos%NetBSD.org@localhost>
date: Mon May 11 19:37:51 2015 +0000
description:
one t in literal.
diffstat:
tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c | 14 ++++++++++++++
tests/usr.bin/xlint/lint1/d_c99_compound_litteral_comma.c | 14 --------------
2 files changed, 14 insertions(+), 14 deletions(-)
diffs (36 lines):
diff -r 82abe5d2c937 -r 6bff2126357c tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c Mon May 11 19:37:51 2015 +0000
@@ -0,0 +1,14 @@
+struct bintime {
+ unsigned long long sec;
+ unsigned long long frac;
+};
+
+struct bintime
+us2bintime(unsigned long long us)
+{
+
+ return (struct bintime) {
+ .sec = us / 1000000U,
+ .frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
+ };
+}
diff -r 82abe5d2c937 -r 6bff2126357c tests/usr.bin/xlint/lint1/d_c99_compound_litteral_comma.c
--- a/tests/usr.bin/xlint/lint1/d_c99_compound_litteral_comma.c Mon May 11 17:22:37 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-struct bintime {
- unsigned long long sec;
- unsigned long long frac;
-};
-
-struct bintime
-us2bintime(unsigned long long us)
-{
-
- return (struct bintime) {
- .sec = us / 1000000U,
- .frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
- };
-}
Home |
Main Index |
Thread Index |
Old Index