diff options
author | Werner Koch <[email protected]> | 2006-09-14 14:24:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-09-14 14:24:34 +0000 |
commit | 12172fa6fa5136cfaa8eca23cb83840386a3892f (patch) | |
tree | 8261c598e67f51dd708bc9b2a11f56704e2db224 /src/strerror.c | |
parent | Updated. (diff) | |
download | libgpg-error-12172fa6fa5136cfaa8eca23cb83840386a3892f.tar.gz libgpg-error-12172fa6fa5136cfaa8eca23cb83840386a3892f.zip |
Ready for a new releaselibgpg-error-1.4
Diffstat (limited to 'src/strerror.c')
-rw-r--r-- | src/strerror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strerror.c b/src/strerror.c index 410c4ab..dc56040 100644 --- a/src/strerror.c +++ b/src/strerror.c @@ -61,7 +61,7 @@ gpg_strerror (gpg_error_t err) to a resource shortage, set *STR to NULL and return 1. If this call fails because the error number is not valid, don't set *STR and return 0. */ -int +static int system_strerror_r (int no, char *buf, size_t buflen) { char *errstr; @@ -89,7 +89,7 @@ system_strerror_r (int no, char *buf, size_t buflen) #else /* STRERROR_R_CHAR_P */ /* Now the POSIX version. */ -int +static int system_strerror_r (int no, char *buf, size_t buflen) { return strerror_r (no, buf, buflen); @@ -102,7 +102,7 @@ system_strerror_r (int no, char *buf, size_t buflen) version. Maybe we are even lucky and the system's strerror() is already thread-safe. */ -int +static int system_strerror_r (int no, char *buf, size_t buflen) { char *errstr = strerror (no); |