1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Move declaration for scm_mkstemp to filesys.h

The underlying function was moved to filesys.c in
073167ef7b but the declaration didn't follow

* libguile/filesys.h: add declaration for scm_mkstemp
* libguile/posix.h: remove declaration for scm_mkstemp
This commit is contained in:
Michael Gran 2021-01-18 08:40:27 -08:00
parent b5ecfdd061
commit d60ff39105
2 changed files with 3 additions and 3 deletions

View 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);

View 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);