diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 17:49:34 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:00 +0100 |
commit | 3313a8602661409b390874b9b1bcd7de4c8455de (patch) | |
tree | b3ea04801bc0ae43332a84704e958a94acbeb297 /util.c | |
parent | 67aaef986388cb6322d74bf057ce4b2bf7ee15c0 (diff) | |
download | perl-3313a8602661409b390874b9b1bcd7de4c8455de.tar.gz |
Rely on C89 sprintf() return type
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -2237,11 +2237,7 @@ Perl_unlnk(pTHX_ const char *f) /* unlink all versions of a file */ but probably won't on others. */ -#ifdef USE_CHAR_VSPRINTF -char * -#else int -#endif vsprintf(char *dest, const char *pat, void *args) { FILE fakebuf; @@ -2269,11 +2265,7 @@ vsprintf(char *dest, const char *pat, void *args) # endif (void)fputc('\0', &fakebuf); #endif -#ifdef USE_CHAR_VSPRINTF - return(dest); -#else return 0; /* perl doesn't use return value */ -#endif } #endif /* HAS_VPRINTF */ |