From c12e8bdb8d73db7403b94831c9f7c7a86385d6e1 Mon Sep 17 00:00:00 2001 From: Alex Higgins Date: Thu, 27 Aug 2015 20:14:03 -0500 Subject: [PATCH] Cosmetic changes to all function arg alignments in jets/c --- jets/c/can.c | 2 +- jets/c/cap.c | 3 +-- jets/c/cat.c | 4 ++-- jets/c/con.c | 2 +- jets/c/cut.c | 9 ++++----- jets/c/dis.c | 2 +- jets/c/dor.c | 5 ++--- jets/c/dvr.c | 3 ++- jets/c/end.c | 7 +++---- jets/c/gor.c | 2 +- jets/c/hor.c | 2 +- jets/c/lsh.c | 8 ++++++-- jets/c/met.c | 5 ++--- jets/c/mix.c | 2 +- jets/c/peg.c | 5 ++--- jets/c/po.c | 12 +++++------- jets/c/pow.c | 3 ++- jets/c/rap.c | 2 +- jets/c/rip.c | 2 +- jets/c/rsh.c | 14 +++++++------- jets/c/vor.c | 2 +- 21 files changed, 47 insertions(+), 49 deletions(-) diff --git a/jets/c/can.c b/jets/c/can.c index ec54397a3b..8e1cbd464d 100644 --- a/jets/c/can.c +++ b/jets/c/can.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_can(u3_atom a, - u3_noun b) + u3_noun b) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); diff --git a/jets/c/cap.c b/jets/c/cap.c index ce424afc73..fdda353dae 100644 --- a/jets/c/cap.c +++ b/jets/c/cap.c @@ -7,8 +7,7 @@ /* functions */ u3_noun - u3qc_cap( - u3_atom a) + u3qc_cap(u3_atom a) { c3_w met_w = u3r_met(0, a); diff --git a/jets/c/cat.c b/jets/c/cat.c index 973119ba95..ea7ea30a28 100644 --- a/jets/c/cat.c +++ b/jets/c/cat.c @@ -8,8 +8,8 @@ */ u3_noun u3qc_cat(u3_atom a, - u3_atom b, - u3_atom c) + u3_atom b, + u3_atom c) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); diff --git a/jets/c/con.c b/jets/c/con.c index 044ce4a6f9..cf25e4033c 100644 --- a/jets/c/con.c +++ b/jets/c/con.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_con(u3_atom a, - u3_atom b) + u3_atom b) { c3_w lna_w = u3r_met(5, a); c3_w lnb_w = u3r_met(5, b); diff --git a/jets/c/cut.c b/jets/c/cut.c index 396f926669..2cb37f3ce1 100644 --- a/jets/c/cut.c +++ b/jets/c/cut.c @@ -7,11 +7,10 @@ /* functions */ u3_noun - u3qc_cut( - u3_atom a, - u3_atom b, - u3_atom c, - u3_atom d) + u3qc_cut(u3_atom a, + u3_atom b, + u3_atom c, + u3_atom d) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); diff --git a/jets/c/dis.c b/jets/c/dis.c index 71356b7494..d54ef13b1c 100644 --- a/jets/c/dis.c +++ b/jets/c/dis.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_dis(u3_atom a, - u3_atom b) + u3_atom b) { c3_w lna_w = u3r_met(5, a); c3_w lnb_w = u3r_met(5, b); diff --git a/jets/c/dor.c b/jets/c/dor.c index 0bb2b282f1..3f4842c140 100644 --- a/jets/c/dor.c +++ b/jets/c/dor.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qc_dor( - u3_atom a, - u3_atom b) + u3qc_dor(u3_atom a, + u3_atom b) { if ( c3y == u3r_sing(a, b) ) { return c3y; diff --git a/jets/c/dvr.c b/jets/c/dvr.c index d484e49d5e..68205286c6 100644 --- a/jets/c/dvr.c +++ b/jets/c/dvr.c @@ -7,7 +7,8 @@ /* functions */ u3_noun - u3qc_dvr(u3_atom a, u3_atom b) + u3qc_dvr(u3_atom a, + u3_atom b) { if ( 0 == b) { return u3m_bail(c3__exit); diff --git a/jets/c/end.c b/jets/c/end.c index f0227f1a1e..15bc09f534 100644 --- a/jets/c/end.c +++ b/jets/c/end.c @@ -7,10 +7,9 @@ /* functions */ u3_noun - u3qc_end( - u3_atom a, - u3_atom b, - u3_atom c) + u3qc_end(u3_atom a, + u3_atom b, + u3_atom c) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); diff --git a/jets/c/gor.c b/jets/c/gor.c index 88fffb3670..8e89b5e8cb 100644 --- a/jets/c/gor.c +++ b/jets/c/gor.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_gor(u3_noun a, - u3_noun b) + u3_noun b) { c3_w c_w = u3r_mug(a); c3_w d_w = u3r_mug(b); diff --git a/jets/c/hor.c b/jets/c/hor.c index 2d5d5a333e..052c53b827 100644 --- a/jets/c/hor.c +++ b/jets/c/hor.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_hor(u3_noun a, - u3_noun b) + u3_noun b) { if ( c3y == u3ud(a) ) { if ( c3y == u3ud(b) ) { diff --git a/jets/c/lsh.c b/jets/c/lsh.c index bdbdb2f8c9..87f286a33c 100644 --- a/jets/c/lsh.c +++ b/jets/c/lsh.c @@ -7,7 +7,9 @@ /* functions */ u3_noun - u3qc_lsh(u3_atom a, u3_atom b, u3_atom c) + u3qc_lsh(u3_atom a, + u3_atom b, + u3_atom c) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); @@ -57,7 +59,9 @@ } } u3_noun - u3kc_lsh(u3_noun a, u3_noun b, u3_noun c) + u3kc_lsh(u3_noun a, + u3_noun b, + u3_noun c) { u3_noun d = u3qc_lsh(a, b, c); diff --git a/jets/c/met.c b/jets/c/met.c index 2ac2f194af..363319e25c 100644 --- a/jets/c/met.c +++ b/jets/c/met.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qc_met( - u3_atom a, - u3_atom b) + u3qc_met(u3_atom a, + u3_atom b) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { if ( 0 == b ) { diff --git a/jets/c/mix.c b/jets/c/mix.c index a5c027b183..57addfe7eb 100644 --- a/jets/c/mix.c +++ b/jets/c/mix.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_mix(u3_atom a, - u3_atom b) + u3_atom b) { c3_w lna_w = u3r_met(5, a); c3_w lnb_w = u3r_met(5, b); diff --git a/jets/c/peg.c b/jets/c/peg.c index cfd7fd20f5..d8ec214f6c 100644 --- a/jets/c/peg.c +++ b/jets/c/peg.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qc_peg( - u3_atom a, - u3_atom b) + u3qc_peg(u3_atom a, + u3_atom b) { u3_atom c, d, e, f, g, h; diff --git a/jets/c/po.c b/jets/c/po.c index 16e1a91005..25735970ae 100644 --- a/jets/c/po.c +++ b/jets/c/po.c @@ -7,7 +7,8 @@ // good old linear search // static u3_noun - _po_find(u3_noun buf, u3_noun a) + _po_find(u3_noun buf, + u3_noun a) { if ( !_(u3a_is_cat(a)) ) { return u3_nul; @@ -32,8 +33,7 @@ } u3_noun - u3wcp_ins( - u3_noun cor) + u3wcp_ins(u3_noun cor) { u3_noun x, a, buf; @@ -48,8 +48,7 @@ } } u3_noun - u3wcp_ind( - u3_noun cor) + u3wcp_ind(u3_noun cor) { u3_noun x, a, buf; @@ -65,8 +64,7 @@ } u3_noun - u3wcp_tos( - u3_noun cor) + u3wcp_tos(u3_noun cor) { u3_noun x, a, buf; diff --git a/jets/c/pow.c b/jets/c/pow.c index fff4432b6c..541500f21f 100644 --- a/jets/c/pow.c +++ b/jets/c/pow.c @@ -7,7 +7,8 @@ /* functions */ u3_noun - u3qc_pow(u3_atom a, u3_atom b) + u3qc_pow(u3_atom a, + u3_atom b) { if ( !_(u3a_is_cat(b)) ) { return u3m_bail(c3__fail); diff --git a/jets/c/rap.c b/jets/c/rap.c index 7464288622..bd8afc7404 100644 --- a/jets/c/rap.c +++ b/jets/c/rap.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_rap(u3_atom a, - u3_noun b) + u3_noun b) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__exit); diff --git a/jets/c/rip.c b/jets/c/rip.c index 0b781918b3..c938f78167 100644 --- a/jets/c/rip.c +++ b/jets/c/rip.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_rip(u3_atom a, - u3_atom b) + u3_atom b) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); diff --git a/jets/c/rsh.c b/jets/c/rsh.c index 750af82e75..4ecdf138e3 100644 --- a/jets/c/rsh.c +++ b/jets/c/rsh.c @@ -7,10 +7,9 @@ /* functions */ u3_noun - u3qc_rsh( - u3_atom a, - u3_atom b, - u3_atom c) + u3qc_rsh(u3_atom a, + u3_atom b, + u3_atom c) { if ( !_(u3a_is_cat(a)) || (a >= 32) ) { return u3m_bail(c3__fail); @@ -40,8 +39,7 @@ } } u3_noun - u3wc_rsh( - u3_noun cor) + u3wc_rsh(u3_noun cor) { u3_noun a, b, c; @@ -58,7 +56,9 @@ } } u3_noun - u3kc_rsh(u3_noun a, u3_noun b, u3_noun c) + u3kc_rsh(u3_noun a, + u3_noun b, + u3_noun c) { u3_noun d = u3qc_rsh(a, b, c); diff --git a/jets/c/vor.c b/jets/c/vor.c index c5fef3cf6b..28364140b2 100644 --- a/jets/c/vor.c +++ b/jets/c/vor.c @@ -8,7 +8,7 @@ */ u3_noun u3qc_vor(u3_atom a, - u3_atom b) + u3_atom b) { c3_w c_w = u3r_mug(u3r_mug(a)); c3_w d_w = u3r_mug(u3r_mug(b));