diff libinterp/corefcn/debug.cc @ 23143:898c33f4b9c0

declare some functions that are only used once "static" * debug.cc (do_dbtype): Now static. * load-save.cc (find_file_to_load): Now static. * variables.cc (symbol_exist): Now static. * variables.h (symbol_exist): Delete decl.
author John W. Eaton <jwe@octave.org>
date Fri, 03 Feb 2017 19:54:32 -0500
parents 334119c390b3
children 092078913d54
line wrap: on
line diff
--- a/libinterp/corefcn/debug.cc	Fri Feb 03 07:31:08 2017 -0800
+++ b/libinterp/corefcn/debug.cc	Fri Feb 03 19:54:32 2017 -0500
@@ -563,7 +563,7 @@
   return ovl ();
 }
 
-void
+static void
 do_dbtype (std::ostream& os, const std::string& name, int start, int end)
 {
   std::string ff = fcn_file_in_path (name);