summaryrefslogtreecommitdiffstats
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
commitac1a547a381390f569e5116a3832dc1e8dc1341b (patch)
tree8729f75cf021e1eb1e902cf2c3742ae7f3e9fbac
parent6017d470646c1c34870720f1a7f7313bdbcf462c (diff)
downloadbcm5719-llvm-ac1a547a381390f569e5116a3832dc1e8dc1341b.tar.gz
bcm5719-llvm-ac1a547a381390f569e5116a3832dc1e8dc1341b.zip
Patch to make VS happier, thanks to Morten Ofstad for pointing this out.
llvm-svn: 16956
-rw-r--r--llvm/utils/TableGen/FileLexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FileLexer.l b/llvm/utils/TableGen/FileLexer.l
index d684040d583..08daf2fc2e6 100644
--- a/llvm/utils/TableGen/FileLexer.l
+++ b/llvm/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();
OpenPOWER on IntegriCloud