apio
759fb4fe0e
All checks were successful
continuous-integration/drone/push Build is passing
Otherwise, size_to_read -> usizeo_read.
27 lines
578 B
Bash
Executable File
27 lines
578 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
source $(dirname $0)/env.sh
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
source tools/sources.sh
|
|
|
|
SOURCES=($(printf -- '%s\n' "${SOURCES[@]}" | grep -v libc | grep -v "Types.h" | grep -v "bootboot.h"))
|
|
|
|
for f in ${SOURCES[@]}
|
|
do
|
|
sed -i 's/uint8_t /u8 /g' $f
|
|
sed -i 's/uint16_t /u16 /g' $f
|
|
sed -i 's/uint32_t /u32 /g' $f
|
|
sed -i 's/uint64_t /u64 /g' $f
|
|
|
|
sed -i 's/int8_t /i8 /g' $f
|
|
sed -i 's/int16_t /i16 /g' $f
|
|
sed -i 's/int32_t /i32 /g' $f
|
|
sed -i 's/int64_t /i64 /g' $f
|
|
|
|
sed -i 's/size_t /usize /g' $f
|
|
sed -i 's/ssize_t /isize /g' $f
|
|
done
|