source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: KNF: indentation and sort variables by size; no functional
@ 2014-10-26 18:22 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-10-26 18:22 UTC (permalink / raw)
  To: source

Log Message:
-----------
KNF: indentation and sort variables by size; no functional change

Modified Files:
--------------
    mdocml:
        preconv.c

Revision Data
-------------
Index: preconv.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/preconv.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -Lpreconv.c -Lpreconv.c -u -p -r1.9 -r1.10
--- preconv.c
+++ preconv.c
@@ -27,11 +27,11 @@
 int
 preconv_encode(struct buf *ib, struct buf *ob, int *filenc)
 {
+	size_t		 i;
+	const long	 one = 1L;
 	int		 state, be;
 	unsigned int	 accum;
-	size_t		 i;
 	unsigned char	 cu;
-	const long	 one = 1L;
 
 	if ( ! (*filenc & MPARSE_UTF8))
 		goto latin;
@@ -158,8 +158,7 @@ preconv_cue(const struct buf *b)
 	/* Check if we have the correct header/trailer. */
 
 	if ((sz = (size_t)(eoln - ln)) < 10 || 
-			memcmp(ln, ".\\\" -*-", 7) ||
-			memcmp(eoln - 3, "-*-", 3))
+	    memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3))
 		return(MPARSE_UTF8 | MPARSE_LATIN1);
 
 	/* Move after the header and adjust for the trailer. */
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-26 18:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-26 18:22 mdocml: KNF: indentation and sort variables by size; no functional schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).