X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fpeekc.c;h=7d5f7f9c54ee9c0d97bfa55ae6aad956fa53b101;hp=5ed8c3f166d5b0abd20358607ad64703ccffa985;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b diff --git a/sbr/peekc.c b/sbr/peekc.c index 5ed8c3f..7d5f7f9 100644 --- a/sbr/peekc.c +++ b/sbr/peekc.c @@ -1,11 +1,10 @@ - /* - * peekc.c -- peek at the next character in a stream - * - * 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. - */ +** peekc.c -- peek at the next character in a stream +** +** 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 @@ -13,9 +12,9 @@ int peekc(FILE *fp) { - register int c; + register int c; - c = getc(fp); - ungetc(c, fp); - return c; + c = getc(fp); + ungetc(c, fp); + return c; }