diff options
author | Werner Koch <[email protected]> | 2014-09-18 13:49:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-09-18 14:01:11 +0000 |
commit | cad181b5ece3ab6910575c82c731ce2b47271a09 (patch) | |
tree | e2e4788416eacdd2f833f18b257be0c357af5ec5 /common/exechelp-posix.c | |
parent | g13: Avoid segv after pipe creation failure. (diff) | |
download | gnupg-cad181b5ece3ab6910575c82c731ce2b47271a09.tar.gz gnupg-cad181b5ece3ab6910575c82c731ce2b47271a09.zip |
common: Remove superfluous statements.
* common/exechelp-posix.c: Remove weak pragmas.
* common/sexputil.c (make_canon_sexp_from_rsa_pk): Remove double
const.
--
We do not use Pth anymore and thus there is no more need for the weak
pragmas.
Diffstat (limited to 'common/exechelp-posix.c')
-rw-r--r-- | common/exechelp-posix.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c index 249d38d09..1a1ff1bb2 100644 --- a/common/exechelp-posix.c +++ b/common/exechelp-posix.c @@ -70,15 +70,6 @@ #include "exechelp.h" -/* We have the usual problem here: Some modules are linked against pth - and some are not. However we want to use pth_fork and pth_waitpid - here. Using a weak symbol works but is not portable - we should - provide a an explicit dummy pth module instead of using the - pragma. */ -#pragma weak pth_fork -#pragma weak pth_waitpid - - /* Return the maximum number of currently allowed open file descriptors. Only useful on POSIX systems but returns a value on other systems too. */ |