diff liboctave/oct-syscalls.h @ 10259:65b41bc71f09

use gnulib fcntl module
author John W. Eaton <jwe@octave.org>
date Wed, 03 Feb 2010 17:05:02 -0500
parents 0522a65bcd56
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/oct-syscalls.h
+++ b/liboctave/oct-syscalls.h
@@ -40,9 +40,6 @@
   static int execvp (const std::string&, const string_vector&);
   static int execvp (const std::string&, const string_vector&, std::string&);
 
-  static int fcntl (int, int, long);
-  static int fcntl (int, int, long, std::string&);
-
   static pid_t fork (std::string&);
   static pid_t vfork (std::string&);
 
@@ -72,3 +69,6 @@
 };
 
 #endif
+
+extern OCTAVE_API int octave_fcntl (int, int, long);
+extern OCTAVE_API int octave_fcntl (int, int, long, std::string&);