micro-optimization: fputc (function) -> putc (macro/inline function) - stagit-gemini - Stagit for gemini protocol Openbsd
 (HTM) git clone git://thinkerwim.org/stagit-gemini.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a9c90b585f158f98dd0997d1509e83f85dd87498
 (DIR) parent 554a9fe2e9d12defd9d6253871d8261d3f3ef3c6
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat,  9 Jan 2021 14:57:30 +0100
       
       micro-optimization: fputc (function) -> putc (macro/inline function)
       
       Diffstat:
         M stagit-gopher-index.c               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c
       @@ -104,7 +104,7 @@ gphtext(FILE *fp, const char *s, size_t len)
                                fputs("        ", fp);
                                break;
                        default:
       -                        fputc(*s, fp);
       +                        putc(*s, fp);
                                break;
                        }
                }
       @@ -128,7 +128,7 @@ gphlink(FILE *fp, const char *s, size_t len)
                                fputs("\\|", fp);
                                break;
                        default:
       -                        fputc(*s, fp);
       +                        putc(*s, fp);
                                break;
                        }
                }