diff options
| author | NIIBE Yutaka <[email protected]> | 2025-12-05 07:59:33 +0100 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-12-05 07:59:33 +0100 |
| commit | 8b8dbd55c03a21feeac55359b56f5157a6225d33 (patch) | |
| tree | 504bb1ca272d3fe0ae236c15e895181b807e1274 /src/stpcpy.c | |
| parent | Treat empty DISPLAY envvar as unset. (diff) | |
| download | gpgme-8b8dbd55c03a21feeac55359b56f5157a6225d33.tar.gz gpgme-8b8dbd55c03a21feeac55359b56f5157a6225d33.zip | |
Avoid K&R-style function definition.
* src/stpcpy.c (__stpcpy): Supply function prototype.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/stpcpy.c')
| -rw-r--r-- | src/stpcpy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stpcpy.c b/src/stpcpy.c index 060df118..8cb458ff 100644 --- a/src/stpcpy.c +++ b/src/stpcpy.c @@ -31,9 +31,7 @@ /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ char * -__stpcpy (dest, src) - char *dest; - const char *src; +__stpcpy (char *dest, const char *src) { register char *d = dest; register const char *s = src; |
