summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorMichael Gran <spk121@yahoo.com>2021-01-18 08:40:27 -0800
committerMichael Gran <spk121@yahoo.com>2021-01-18 08:40:27 -0800
commitd60ff39105199dc6c3da5a69c28a967fed2965ba (patch)
tree94421752b619a87fcca3f22781fcac9035ad5f29 /libguile
parentb5ecfdd06161385ef7d6c222926d84b31371565b (diff)
downloadguile-d60ff39105199dc6c3da5a69c28a967fed2965ba.tar.gz
Move declaration for scm_mkstemp to filesys.h
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
Diffstat (limited to 'libguile')
-rw-r--r--libguile/filesys.h3
-rw-r--r--libguile/posix.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/libguile/filesys.h b/libguile/filesys.h
index f870ee434..e25d59477 100644
--- a/libguile/filesys.h
+++ b/libguile/filesys.h
@@ -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);
diff --git a/libguile/posix.h b/libguile/posix.h
index 1d2e1835e..ff3bec9ea 100644
--- a/libguile/posix.h
+++ b/libguile/posix.h
@@ -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);