C++: Force LF for .c,.cpp,.h,.hpp

This commit is contained in:
Dave Bartolomeo
2018-09-20 11:38:56 -07:00
parent caf4a767ad
commit aa267c8302
200 changed files with 5422 additions and 5417 deletions

View File

@@ -1,33 +1,33 @@
enum Type { S, I };
struct Foo {
char* name;
int count;
char* another_name;
char* yet_another_name;
char initials[2];
long very_long;
};
void create_foo()
{
Foo xx;
char name[] = "Foo McFoo";
xx.name = name;
xx.count = 123;
Foo yy = { "Barry McBar", 42, "Baz", "Basildon", { 'B', 'X' }, 5678 };
}
void print_foo(Foo* p)
{
}
Foo current_foo;
Foo set_current_foo(Foo next)
{
Foo prev = current_foo;
current_foo = next;
return prev;
}
enum Type { S, I };
struct Foo {
char* name;
int count;
char* another_name;
char* yet_another_name;
char initials[2];
long very_long;
};
void create_foo()
{
Foo xx;
char name[] = "Foo McFoo";
xx.name = name;
xx.count = 123;
Foo yy = { "Barry McBar", 42, "Baz", "Basildon", { 'B', 'X' }, 5678 };
}
void print_foo(Foo* p)
{
}
Foo current_foo;
Foo set_current_foo(Foo next)
{
Foo prev = current_foo;
current_foo = next;
return prev;
}