X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/cffe37acfaf6896d52860e77585b5000565ec3f7..dcbbebd768c6444e2fbf83de2b3dc6c76b513a54:/uip/annosbr.c diff --git a/uip/annosbr.c b/uip/annosbr.c index 9d73a094..c2aa8652 100644 --- a/uip/annosbr.c +++ b/uip/annosbr.c @@ -1,6 +1,4 @@ - -/* - * annosbr.c -- prepend annotation to messages +/* annosbr.c -- prepend annotation to messages * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -70,7 +68,7 @@ annotate (char *file, char *comp, char *text, int inplace, int datesw, int delet /* * Produce a listing of all header fields (annotations) whose field name matches - * comp. Number the listing if number is set. Treate the field bodies as path + * comp. Number the listing if number is set. Treat the field bodies as path * names and just output the last component unless text is non-NULL. We don't * care what text is set to. */ @@ -143,7 +141,7 @@ annolist(char *file, char *comp, char *text, int number) if (text == NULL && (sp = strrchr(cp, '/')) != (char *)0) cp = sp + 1; - (void)printf("%s\n", cp); + puts(cp); } } while (*field != '\0' && *field != '-'); @@ -155,8 +153,6 @@ annolist(char *file, char *comp, char *text, int number) free(field); (void)fclose(fp); - - return; } /* @@ -167,7 +163,6 @@ void annopreserve(int preserve) { preserve_actime_and_modtime = preserve; - return; } static int