Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/director tests/libcurses: indent grammar...



details:   https://anonhg.NetBSD.org/src/rev/695e303be58f
branches:  trunk
changeset: 951955:695e303be58f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Feb 08 20:26:46 2021 +0000

description:
tests/libcurses: indent grammar functions consistently

diffstat:

 tests/lib/libcurses/director/testlang_parse.y |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r d32a66d1eabd -r 695e303be58f tests/lib/libcurses/director/testlang_parse.y
--- a/tests/lib/libcurses/director/testlang_parse.y     Mon Feb 08 20:09:45 2021 +0000
+++ b/tests/lib/libcurses/director/testlang_parse.y     Mon Feb 08 20:26:46 2021 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: testlang_parse.y,v 1.39 2021/02/08 20:09:45 rillig Exp $       */
+/*     $NetBSD: testlang_parse.y,v 1.40 2021/02/08 20:26:46 rillig Exp $       */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -553,7 +553,8 @@
 /*
  * Add to temporary vals array
  */
-static wchar_t *add_to_vals(data_enum_t argtype, void *arg)
+static wchar_t *
+add_to_vals(data_enum_t argtype, void *arg)
 {
        wchar_t *retval = NULL;
        int have_malloced;
@@ -867,8 +868,8 @@
  * Check the given function name in the given table of names, return 1 if
  * there is a match.
  */
-static int check_function_table(char *function, const char *table[],
-                               int nfunctions)
+static int
+check_function_table(char *function, const char *table[], int nfunctions)
 {
        int i;
 



Home | Main Index | Thread Index | Old Index