diff options
author | Christian Persch <chpe@src.gnome.org> | 2020-04-27 20:49:04 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2020-04-27 20:49:04 +0200 |
commit | d7a9beeffee2f5177b5fec79cf5cdc8e5bc4f636 (patch) | |
tree | b3fb2003c8cbf8fc97beef3724bea5fe8276c5d3 /src/vtespawn.hh | |
parent | 69ed779091b4165b8ea3894e4d58b986dde946a5 (diff) | |
download | vte-d7a9beeffee2f5177b5fec79cf5cdc8e5bc4f636.tar.gz |
lib: Move utility function to the file of its only caller
read_ints is only used in spawn.cc, so move it there. Make a note
that this code is copied from glib.
Diffstat (limited to 'src/vtespawn.hh')
-rw-r--r-- | src/vtespawn.hh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vtespawn.hh b/src/vtespawn.hh index 908fcbe9..481929cf 100644 --- a/src/vtespawn.hh +++ b/src/vtespawn.hh @@ -28,13 +28,5 @@ int _vte_execute(char const* file, bool search_path, bool search_path_from_envp); -bool _vte_read_ints(int fd, - int* buf, - int n_ints_in_buf, - int *n_ints_read, - int timeout, - GPollFD *cancellable_pollfd, - GError **error); - void _vte_write_err (int fd, int msg); |