X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/792aeb0017e1a060f4bea5730cf29db4f46800ea..a1a77e1fcc32e94aff477f2a98c15172b199d1e0:/lib/yyerror.c

diff --git a/lib/yyerror.c b/lib/yyerror.c
index 5eb339fa..c9f492f8 100644
--- a/lib/yyerror.c
+++ b/lib/yyerror.c
@@ -17,7 +17,6 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include <config.h>
 #include <stdio.h>
 
 int yyerror (char const *);
@@ -25,5 +24,7 @@ int yyerror (char const *);
 int
 yyerror (char const *message)
 {
-  return fprintf (stderr, "%s\n", message);
+  fputs (message, stderr);
+  fputc ('\n', stderr);
+  return 0;
 }