]> git.marmaro.de Git - mmh/blobdiff - sbr/snprintb.c
gitignore: More specific ignore patterns
[mmh] / sbr / snprintb.c
index baab61f4bc2ed026ff7cefbb4cd743b4be9528d4..ce7bf8acda74f77f7efc3ef1ea379a5ecdf594ae 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * snprintb.c -- snprintf a %b string
- *
- * This code is Copyright (c) 2002, by the authors of nmh.  See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** snprintb.c -- snprintf a %b string
+**
+** This code is Copyright (c) 2002, by the authors of nmh.  See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
 
 #include <h/mh.h>
 
 
 char *
-snprintb (char *buffer, size_t n, unsigned v, char *bits)
+snprintb(char *buffer, size_t n, unsigned v, char *bits)
 {
        register int i, j;
        register char c, *bp;
 
-       snprintf (buffer, n, bits && *bits == 010 ? "0%o" : "0x%x", v);
+       snprintf(buffer, n, bits && *bits == 010 ? "0%o" : "0x%x", v);
        bp = buffer + strlen(buffer);
 
        if (bits && *++bits) {