Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc



Module Name:    src
Committed By:   rillig
Date:           Sun Dec  1 16:16:57 UTC 2024

Modified Files:
        src/lib/libc/compat/sys: Lint_Ovfork.c
        src/lib/libc/gen: Lint___sigsetjmp14.c Lint__setjmp.c Lint_alloca.c
            Lint_bswap16.c Lint_bswap32.c Lint_bswap64.c Lint_fabs.c
            Lint_flt_rounds.c Lint_fpgetmask.c Lint_fpgetround.c
            Lint_fpgetsticky.c Lint_fpsetmask.c Lint_fpsetround.c
            Lint_fpsetsticky.c Lint_frexp.c Lint_ldexp.c Lint_modf.c
            Lint_resumecontext.c Lint_swapcontext.c
        src/lib/libc/net: Lint_htonl.c Lint_htons.c Lint_ntohl.c Lint_ntohs.c
        src/lib/libc/stdlib: Lint_abs.c Lint_div.c Lint_imaxabs.c Lint_labs.c
            Lint_ldiv.c Lint_llabs.c
        src/lib/libc/string: Lint_bcmp.c Lint_bcopy.c Lint_bzero.c Lint_ffs.c
            Lint_index.c Lint_memccpy.c Lint_memchr.c Lint_memcmp.c
            Lint_memcpy.c Lint_memmove.c Lint_memset.c Lint_rindex.c
            Lint_strcat.c Lint_strchr.c Lint_strcmp.c Lint_strcpy.c
            Lint_strlen.c Lint_strncat.c Lint_strncmp.c Lint_strncpy.c
            Lint_strrchr.c
        src/lib/libc/sys: Lint___clone.c Lint___syscall.c Lint___vfork14.c
            Lint_brk.c Lint_clone.c Lint_getcontext.c Lint_pipe.c Lint_ptrace.c
            Lint_sbrk.c Lint_syscall.c

Log Message:
libc: modernize lint stubs

Use prototype function definitions instead of identifier lists, as C23
does not support the latter.

Remove redundant /*ARGSUSED*/ comments and parentheses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/compat/sys/Lint_Ovfork.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/Lint___sigsetjmp14.c \
    src/lib/libc/gen/Lint__setjmp.c src/lib/libc/gen/Lint_alloca.c \
    src/lib/libc/gen/Lint_bswap32.c src/lib/libc/gen/Lint_bswap64.c \
    src/lib/libc/gen/Lint_fabs.c src/lib/libc/gen/Lint_fpsetmask.c \
    src/lib/libc/gen/Lint_fpsetround.c src/lib/libc/gen/Lint_fpsetsticky.c \
    src/lib/libc/gen/Lint_frexp.c src/lib/libc/gen/Lint_ldexp.c \
    src/lib/libc/gen/Lint_modf.c src/lib/libc/gen/Lint_swapcontext.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/Lint_bswap16.c \
    src/lib/libc/gen/Lint_fpgetmask.c src/lib/libc/gen/Lint_fpgetround.c \
    src/lib/libc/gen/Lint_fpgetsticky.c src/lib/libc/gen/Lint_resumecontext.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/Lint_flt_rounds.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/net/Lint_htonl.c \
    src/lib/libc/net/Lint_htons.c src/lib/libc/net/Lint_ntohl.c \
    src/lib/libc/net/Lint_ntohs.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/Lint_abs.c \
    src/lib/libc/stdlib/Lint_div.c src/lib/libc/stdlib/Lint_labs.c \
    src/lib/libc/stdlib/Lint_ldiv.c src/lib/libc/stdlib/Lint_llabs.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdlib/Lint_imaxabs.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/string/Lint_bcmp.c \
    src/lib/libc/string/Lint_bcopy.c src/lib/libc/string/Lint_bzero.c \
    src/lib/libc/string/Lint_index.c src/lib/libc/string/Lint_memchr.c \
    src/lib/libc/string/Lint_memcmp.c src/lib/libc/string/Lint_memcpy.c \
    src/lib/libc/string/Lint_memmove.c src/lib/libc/string/Lint_memset.c \
    src/lib/libc/string/Lint_rindex.c src/lib/libc/string/Lint_strcat.c \
    src/lib/libc/string/Lint_strchr.c src/lib/libc/string/Lint_strcmp.c \
    src/lib/libc/string/Lint_strcpy.c src/lib/libc/string/Lint_strlen.c \
    src/lib/libc/string/Lint_strncmp.c src/lib/libc/string/Lint_strrchr.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/Lint_ffs.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/Lint_memccpy.c \
    src/lib/libc/string/Lint_strncat.c src/lib/libc/string/Lint_strncpy.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/sys/Lint___clone.c \
    src/lib/libc/sys/Lint_getcontext.c src/lib/libc/sys/Lint_pipe.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/sys/Lint___syscall.c \
    src/lib/libc/sys/Lint_brk.c src/lib/libc/sys/Lint_clone.c \
    src/lib/libc/sys/Lint_sbrk.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/sys/Lint___vfork14.c \
    src/lib/libc/sys/Lint_ptrace.c src/lib/libc/sys/Lint_syscall.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index