uncrustify source code

master
neingeist 11 years ago
parent ca15f19709
commit 8141a18cab

@ -35,6 +35,10 @@ cppcheck.txt: *.c *.h
tags: *.c tags: *.c
ctags -R . ctags -R .
.PHONY: uncrustify
uncrustify:
uncrustify -c uncrustify.cfg --no-backup *.c
mandelbrot: mandelbrot.c mandelbrot: mandelbrot.c
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm $(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm

@ -51,7 +51,8 @@ int main(void) {
21090, 22277, 22624, 24634, 24877, 21090, 22277, 22624, 24634, 24877,
25367, 25586, 26706, 26720, 26958, 25367, 25586, 26706, 26720, 26958,
27478, 28269, 29142, 30630, 30804, 27478, 28269, 29142, 30630, 30804,
31984, 32398, 32588 }; 31984, 32398, 32588
};
assert_sorted(a, 43); assert_sorted(a, 43);
assert(binsearch(a, 43, 912) == 0); assert(binsearch(a, 43, 912) == 0);

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save