Skip to content

Commit

Permalink
Become C90 compliant by fixing declaration after statement error.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
  • Loading branch information
mschulz-at-hilscher authored and rurban committed Apr 16, 2024
1 parent 07bee65 commit 97c8b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extmem/memccpy_s.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ EXPORT errno_t _memccpy_s_chk(void *restrict dest, rsize_t dmax,
const size_t destbos, const size_t srcbos)
#endif
{
(void) srcbos;

uint8_t *dp;
const uint8_t *sp;
rsize_t orig_dmax = dmax;

(void) srcbos;

dp = (uint8_t *)dest;
sp = (uint8_t *)src;

Expand Down

0 comments on commit 97c8b06

Please sign in to comment.