Move declaration for scm_mkstemp to filesys.h
authorMichael Gran <spk121@yahoo.com>
Mon, 18 Jan 2021 16:40:27 +0000 (08:40 -0800)
committerMichael Gran <spk121@yahoo.com>
Mon, 18 Jan 2021 16:40:27 +0000 (08:40 -0800)
The underlying function was moved to filesys.c in
073167ef7b803067bcc8be19925fac1a48577bd8 but the declaration didn't follow

* libguile/filesys.h: add declaration for scm_mkstemp
* libguile/posix.h: remove declaration for scm_mkstemp

libguile/filesys.h
libguile/posix.h

index f870ee434924473e324038f36a2634047c8f559a..e25d5947749750869197c297aab9a05196a46e38 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef SCM_FILESYS_H
 #define SCM_FILESYS_H
 
-/* Copyright 1995,1997-2001,2006,2008-2011,2013,2018
+/* Copyright 1995,1997-2001,2006,2008-2011,2013,2018,2021
      Free Software Foundation, Inc.
 
    This file is part of Guile.
@@ -65,6 +65,7 @@ SCM_API SCM scm_symlink (SCM oldpath, SCM newpath);
 SCM_API SCM scm_readlink (SCM path);
 SCM_API SCM scm_lstat (SCM str);
 SCM_API SCM scm_copy_file (SCM oldfile, SCM newfile);
+SCM_API SCM scm_mkstemp (SCM tmpl);
 SCM_API SCM scm_dirname (SCM filename);
 SCM_API SCM scm_basename (SCM filename, SCM suffix);
 SCM_API SCM scm_canonicalize_path (SCM path);
index 1d2e1835e93c5f654747886f43d86c50f002d55f..ff3bec9eacb735b12c5b7e9af8d847c302490810 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef SCM_POSIX_H
 #define SCM_POSIX_H
 
-/* Copyright 1995-1998,2000-2001,2003,2006,2008-2011,2018
+/* Copyright 1995-1998,2000-2001,2003,2006,2008-2011,2018,2021
      Free Software Foundation, Inc.
 
    This file is part of Guile.
@@ -65,7 +65,6 @@ SCM_API SCM scm_fork (void);
 SCM_API SCM scm_uname (void);
 SCM_API SCM scm_environ (SCM env);
 SCM_API SCM scm_tmpnam (void);
-SCM_API SCM scm_mkstemp (SCM tmpl);
 SCM_API SCM scm_tmpfile (void);
 SCM_API SCM scm_open_pipe (SCM pipestr, SCM modes);
 SCM_API SCM scm_close_pipe (SCM port);