diff libinterp/corefcn/file-io.cc @ 23454:30b6eccd6708

use builtin-defun-decls.h to ensure declarations of interpreter functions * error.cc, file-io.cc, strfind.cc, ov-cell.cc, ov-struct.cc, oct-parse.in.yy: Include builtin-defun-decls.h. Eliminate local declarations of interpreter functions.
author John W. Eaton <jwe@octave.org>
date Fri, 28 Apr 2017 13:52:02 -0400
parents 855122b993da
children b6144e6dda9e
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc	Fri Apr 28 13:49:27 2017 -0400
+++ b/libinterp/corefcn/file-io.cc	Fri Apr 28 13:52:02 2017 -0400
@@ -51,7 +51,6 @@
 #  include <zlib.h>
 #endif
 
-#include "error.h"
 #include "file-ops.h"
 #include "file-stat.h"
 #include "lo-ieee.h"
@@ -61,7 +60,9 @@
 #include "tmpfile-wrapper.h"
 #include "unistd-wrappers.h"
 
+#include "builtin-defun-decls.h"
 #include "defun.h"
+#include "error.h"
 #include "errwarn.h"
 #include "file-io.h"
 #include "load-path.h"