From 4523709d8ef0935da98276769508953a327fb00e Mon Sep 17 00:00:00 2001
From: Chris Lattner <sabre@nondot.org>
Date: Wed, 13 Oct 2004 15:25:46 +0000
Subject: [PATCH] Patch to make VS happier, thanks to Morten Ofstad for
 pointing this out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16956 91177308-0d34-0410-b5e6-96231b3b80d8
---
 utils/TableGen/FileLexer.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l
index d684040d583..08daf2fc2e6 100644
--- a/utils/TableGen/FileLexer.l
+++ b/utils/TableGen/FileLexer.l
@@ -147,7 +147,7 @@ static void HandleInclude(const char *Buffer) {
 /// files. Switch back to an includer if an includee has run out of input.
 ///
 extern "C"
-int yywrap() {
+int yywrap(void) {
   if (IncludeStack.back().File != stdin)
     fclose(IncludeStack.back().File);
   IncludeStack.pop_back();