Explorar el Código

dbmi: define close_on_exec as static

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67367 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 9 años
padre
commit
5636590e27
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/db/dbmi_client/start.c

+ 1 - 1
lib/db/dbmi_client/start.c

@@ -28,7 +28,7 @@
 #define READ  0
 #define WRITE 1
 
-void close_on_exec(int fd)
+static void close_on_exec(int fd)
 {
 #ifndef __MINGW32__
     int flags = fcntl(fd, F_GETFD);