Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/msgc Removing trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/dfe48813339f
branches: trunk
changeset: 777712:dfe48813339f
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Fri Mar 02 13:11:57 2012 +0000
description:
Removing trailing whitespace.
diffstat:
usr.bin/msgc/msg_sys.def | 10 +++++-----
usr.bin/msgc/msgdb.c | 18 +++++++++---------
usr.bin/msgc/msgdb.h | 14 +++++++-------
usr.bin/msgc/msgmain.c | 14 +++++++-------
usr.bin/msgc/msgparse.y | 16 ++++++++--------
usr.bin/msgc/msgscan.l | 12 ++++++------
6 files changed, 42 insertions(+), 42 deletions(-)
diffs (248 lines):
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msg_sys.def
--- a/usr.bin/msgc/msg_sys.def Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msg_sys.def Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_sys.def,v 1.38 2010/01/02 16:08:20 dsl Exp $ */
+/* $NetBSD: msg_sys.def,v 1.39 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msgdb.c
--- a/usr.bin/msgc/msgdb.c Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msgdb.c Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgdb.c,v 1.20 2004/06/20 22:20:16 jmc Exp $ */
+/* $NetBSD: msgdb.c,v 1.21 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msgdb.c,v 1.20 2004/06/20 22:20:16 jmc Exp $");
+__RCSID("$NetBSD: msgdb.c,v 1.21 2012/03/02 13:11:57 mbalmer Exp $");
#endif
@@ -203,14 +203,14 @@
/* msg_list */
(void)fprintf (out_file, "const char *msg_list[] = {\nNULL,\n");
- for (t=head ; t != NULL; t = t->next)
+ for (t=head ; t != NULL; t = t->next)
write_str (out_file, t->msg);
(void)fprintf (out_file, "NULL};\n");
/* sys file out! */
while ((ch = fgetc(sys_file)) != EOF)
- fputc(ch, out_file);
-
+ fputc(ch, out_file);
+
fclose (out_file);
fclose (sys_file);
}
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msgdb.h
--- a/usr.bin/msgc/msgdb.h Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msgdb.h Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgdb.h,v 1.1.1.1 1997/09/26 21:16:38 phil Exp $ */
+/* $NetBSD: msgdb.h,v 1.2 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
@@ -48,8 +48,8 @@
char *id;
/* For the balanced tree. */
- short balance;
- struct id_rec *left, *right;
+ short balance;
+ struct id_rec *left, *right;
/* For the list of messages. */
struct id_rec *next;
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msgmain.c
--- a/usr.bin/msgc/msgmain.c Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msgmain.c Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgmain.c,v 1.7 2004/06/20 22:20:16 jmc Exp $ */
+/* $NetBSD: msgmain.c,v 1.8 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msgmain.c,v 1.7 2004/06/20 22:20:16 jmc Exp $");
+__RCSID("$NetBSD: msgmain.c,v 1.8 2012/03/02 13:11:57 mbalmer Exp $");
#endif
@@ -65,7 +65,7 @@
int ch;
prog_name = argv[0];
-
+
/* Process the arguments. */
while ( (ch = getopt (argc, argv, "o:")) != -1 ) {
switch (ch) {
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msgparse.y
--- a/usr.bin/msgc/msgparse.y Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msgparse.y Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgparse.y,v 1.3 2003/07/17 08:33:04 lukem Exp $ */
+/* $NetBSD: msgparse.y,v 1.4 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msgparse.y,v 1.3 2003/07/17 08:33:04 lukem Exp $");
+__RCSID("$NetBSD: msgparse.y,v 1.4 2012/03/02 13:11:57 mbalmer Exp $");
#endif
@@ -62,9 +62,9 @@
%%
list : /* empty */
- | list msg
+ | list msg
;
-msg : MESSAGE NAME VALUE
+msg : MESSAGE NAME VALUE
{ define_msg ($2, $3); }
diff -r 98c33b5cd87f -r dfe48813339f usr.bin/msgc/msgscan.l
--- a/usr.bin/msgc/msgscan.l Fri Mar 02 12:56:51 2012 +0000
+++ b/usr.bin/msgc/msgscan.l Fri Mar 02 13:11:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgscan.l,v 1.5 2009/10/29 14:37:56 christos Exp $ */
+/* $NetBSD: msgscan.l,v 1.6 2012/03/02 13:11:57 mbalmer Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -25,13 +25,13 @@
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msgscan.l,v 1.5 2009/10/29 14:37:56 christos Exp $");
+__RCSID("$NetBSD: msgscan.l,v 1.6 2012/03/02 13:11:57 mbalmer Exp $");
#endif
Home |
Main Index |
Thread Index |
Old Index