From: Ian Darwin Date: Fri, 11 Sep 1992 11:44:31 +0000 (+0000) Subject: Remove ckfputs() function; it's now in print.c. X-Git-Tag: FILE3_27~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51b479bb26f6c2ba90645b03106ccc17327a4d86;p=file Remove ckfputs() function; it's now in print.c. --- diff --git a/src/file.c b/src/file.c index 2aa956f9..013a907a 100644 --- a/src/file.c +++ b/src/file.c @@ -26,7 +26,7 @@ */ #ifndef lint static char *moduleid = - "@(#)$Id: file.c,v 1.23 1992/09/08 22:32:35 ian Exp $"; + "@(#)$Id: file.c,v 1.24 1992/09/11 11:44:31 ian Exp $"; #endif /* lint */ #include @@ -267,11 +267,3 @@ int nb; ckfputs("data", stdout); } -void -ckfputs(str, fil) - const char *str; - FILE *fil; -{ - if (fputs(str,fil) == EOF) - error("write failed.\n"); -}