Changeset 3bf907a in mainline for uspace/lib/libc


Ignore:
Timestamp:
2009-06-04T16:36:47Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4a68194
Parents:
8bfe48e
Message:

be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files

Location:
uspace/lib/libc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/Makefile.toolchain

    r8bfe48e r3bf907a  
    3030        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32 -finput-charset=UTF-8 \
    3131        -fno-builtin -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    32         -nostdlib -nostdinc -pipe -g
     32        -Werror-implicit-function-declaration -nostdlib -nostdinc -pipe -g
    3333LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a
    3434AFLAGS =
  • uspace/lib/libc/generic/mem.c

    r8bfe48e r3bf907a  
    9696static void *unaligned_memcpy(void *dst, const void *src, size_t n)
    9797{
    98         unsigned int i, j;
     98        size_t i, j;
    9999        struct along *adst = dst;
    100100        const struct along *asrc = src;
Note: See TracChangeset for help on using the changeset viewer.