Module Name: src Committed By: gson Date: Tue Feb 27 21:05:34 UTC 2024
Modified Files: src/usr.bin/audio/common: audio.c decode.c sun.c wav.c Log Message: Clean up lines containing only tabs. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/audio/common/audio.c cvs rdiff -u -r1.1 -r1.2 src/usr.bin/audio/common/decode.c cvs rdiff -u -r1.10 -r1.11 src/usr.bin/audio/common/sun.c cvs rdiff -u -r1.17 -r1.18 src/usr.bin/audio/common/wav.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/audio/common/audio.c diff -u src/usr.bin/audio/common/audio.c:1.26 src/usr.bin/audio/common/audio.c:1.27 --- src/usr.bin/audio/common/audio.c:1.26 Sat Nov 9 12:46:44 2019 +++ src/usr.bin/audio/common/audio.c Tue Feb 27 21:05:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.26 2019/11/09 12:46:44 mrg Exp $ */ +/* $NetBSD: audio.c,v 1.27 2024/02/27 21:05:34 gson Exp $ */ /* * Copyright (c) 1999, 2013, 2015, 2019 Matthew R. Green @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: audio.c,v 1.26 2019/11/09 12:46:44 mrg Exp $"); +__RCSID("$NetBSD: audio.c,v 1.27 2024/02/27 21:05:34 gson Exp $"); #endif @@ -205,7 +205,7 @@ write_header(struct track_info *ti) veclen = 0; tlen = 0; - + if (hdrlen != 0) { iv[veclen].iov_base = hdr; iv[veclen].iov_len = hdrlen; Index: src/usr.bin/audio/common/decode.c diff -u src/usr.bin/audio/common/decode.c:1.1 src/usr.bin/audio/common/decode.c:1.2 --- src/usr.bin/audio/common/decode.c:1.1 Sun Jun 21 06:06:01 2015 +++ src/usr.bin/audio/common/decode.c Tue Feb 27 21:05:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: decode.c,v 1.1 2015/06/21 06:06:01 mrg Exp $ */ +/* $NetBSD: decode.c,v 1.2 2024/02/27 21:05:34 gson Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: decode.c,v 1.1 2015/06/21 06:06:01 mrg Exp $"); +__RCSID("$NetBSD: decode.c,v 1.2 2024/02/27 21:05:34 gson Exp $"); #endif #include <sys/types.h> @@ -85,7 +85,7 @@ decode_time(const char *arg, struct time tvp->tv_sec = tvp->tv_usec = 0; s = copy; - + /* handle [hh:]mm:ss.dd */ if ((colon = strchr(s, ':')) != NULL) { *colon++ = '\0'; Index: src/usr.bin/audio/common/sun.c diff -u src/usr.bin/audio/common/sun.c:1.10 src/usr.bin/audio/common/sun.c:1.11 --- src/usr.bin/audio/common/sun.c:1.10 Sat Nov 9 12:46:44 2019 +++ src/usr.bin/audio/common/sun.c Tue Feb 27 21:05:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: sun.c,v 1.10 2019/11/09 12:46:44 mrg Exp $ */ +/* $NetBSD: sun.c,v 1.11 2024/02/27 21:05:34 gson Exp $ */ /* * Copyright (c) 2002, 2013, 2015 Matthew R. Green @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: sun.c,v 1.10 2019/11/09 12:46:44 mrg Exp $"); +__RCSID("$NetBSD: sun.c,v 1.11 2024/02/27 21:05:34 gson Exp $"); #endif @@ -149,7 +149,7 @@ sun_prepare_header(struct track_info *ti break; #endif } - + /* if we can't express this as a Sun header, don't write any */ if (audio_encoding_to_sun(ti->encoding, ti->precision, &sunenc) != 0) { if (!ti->qflag && !warned) { Index: src/usr.bin/audio/common/wav.c diff -u src/usr.bin/audio/common/wav.c:1.17 src/usr.bin/audio/common/wav.c:1.18 --- src/usr.bin/audio/common/wav.c:1.17 Tue Feb 27 20:40:29 2024 +++ src/usr.bin/audio/common/wav.c Tue Feb 27 21:05:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: wav.c,v 1.17 2024/02/27 20:40:29 gson Exp $ */ +/* $NetBSD: wav.c,v 1.18 2024/02/27 21:05:34 gson Exp $ */ /* * Copyright (c) 2002, 2009, 2013, 2015, 2019 Matthew R. Green @@ -33,7 +33,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: wav.c,v 1.17 2024/02/27 20:40:29 gson Exp $"); +__RCSID("$NetBSD: wav.c,v 1.18 2024/02/27 21:05:34 gson Exp $"); #endif @@ -374,7 +374,7 @@ wav_prepare_header(struct track_info *ti abps = (double)align*ti->sample_rate / (double)1 + 0.5; nsample = (datalen / ti->precision) / ti->sample_rate; - + /* * now we've calculated the info, write it out! */