aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-12-05 07:59:33 +0100
committerNIIBE Yutaka <[email protected]>2025-12-05 07:59:33 +0100
commit8b8dbd55c03a21feeac55359b56f5157a6225d33 (patch)
tree504bb1ca272d3fe0ae236c15e895181b807e1274 /src
parentTreat empty DISPLAY envvar as unset. (diff)
downloadgpgme-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')
-rw-r--r--src/stpcpy.c4
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;