X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fpeekc.c;h=cee75044e9de86be505aa076ddbbc0f2bdf5f9c4;hb=337338b404931f06f0db2119c9e145e8ca5a9860;hp=d77039bc30743f817adc41a8c89025393921484c;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/peekc.c b/sbr/peekc.c index d77039b..cee7504 100644 --- a/sbr/peekc.c +++ b/sbr/peekc.c @@ -1,8 +1,9 @@ - /* * peekc.c -- peek at the next character in a stream * - * $Id$ + * 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 @@ -11,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; }