summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-13 15:25:46 +0000
committerChris Lattner <sabre@nondot.org>2004-10-13 15:25:46 +0000
commit4523709d8ef0935da98276769508953a327fb00e (patch)
treec4f16091a853c595902483f77103353c599e3a02 /utils
parentfbb719c7f026525d54a8332ef66c7514a0cf2383 (diff)
downloadllvm-4523709d8ef0935da98276769508953a327fb00e.tar.gz
llvm-4523709d8ef0935da98276769508953a327fb00e.tar.bz2
llvm-4523709d8ef0935da98276769508953a327fb00e.tar.xz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/FileLexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l
index d684040d58..08daf2fc2e 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();