OSDN Git Service

Patch to make VS happier, thanks to Morten Ofstad for pointing this out.
authorChris Lattner <sabre@nondot.org>
Wed, 13 Oct 2004 15:25:46 +0000 (15:25 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 13 Oct 2004 15:25:46 +0000 (15:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16956 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/FileLexer.l

index d684040..08daf2f 100644 (file)
@@ -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();