summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
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();