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
This commit is contained in:
Chris Lattner 2004-10-13 15:25:46 +00:00
parent fbb719c7f0
commit 4523709d8e

View 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();