Expose _alpm_reset_signals() to library
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
62c6874689
commit
9667bc6b12
2 changed files with 2 additions and 1 deletions
|
@ -555,7 +555,7 @@ static int _alpm_chroot_read_from_child(alpm_handle_t *handle, int fd,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _alpm_reset_signals(void)
|
void _alpm_reset_signals(void)
|
||||||
{
|
{
|
||||||
/* reset POSIX defined signals (see signal.h) */
|
/* reset POSIX defined signals (see signal.h) */
|
||||||
/* there are likely more but there is no easy way
|
/* there are likely more but there is no easy way
|
||||||
|
|
|
@ -129,6 +129,7 @@ ssize_t _alpm_files_in_directory(alpm_handle_t *handle, const char *path, int fu
|
||||||
|
|
||||||
typedef ssize_t (*_alpm_cb_io)(void *buf, ssize_t len, void *ctx);
|
typedef ssize_t (*_alpm_cb_io)(void *buf, ssize_t len, void *ctx);
|
||||||
|
|
||||||
|
void _alpm_reset_signals(void);
|
||||||
int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[],
|
int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[],
|
||||||
_alpm_cb_io in_cb, void *in_ctx);
|
_alpm_cb_io in_cb, void *in_ctx);
|
||||||
int _alpm_ldconfig(alpm_handle_t *handle);
|
int _alpm_ldconfig(alpm_handle_t *handle);
|
||||||
|
|
Loading…
Add table
Reference in a new issue