Fixing indentation

This commit is contained in:
Denis Nuțiu 2016-05-09 16:36:11 +03:00
parent d39471fc84
commit b3f59784c9

View file

@ -84,7 +84,7 @@ int find_max(list lst) {
return max; return max;
} }
void find_peak(list * lst, size_t size) { void find_peak(list * lst, size_t size) {
int min = find_min(lst[0]); int min = find_min(lst[0]);
int max = find_max(lst[0]); int max = find_max(lst[0]);
int new_min, new_max; int new_min, new_max;
@ -100,7 +100,7 @@ int find_max(list lst) {
} }
printf("Maximum %d\n", max); printf("Maximum %d\n", max);
printf("Minimum %d\n", min); printf("Minimum %d\n", min);
} }
int main(void) { int main(void) {
list list1 = insert(insert(insert(insert(NULL, 11), 7), 5), 3); list list1 = insert(insert(insert(insert(NULL, 11), 7), 5), 3);