forked from github/server
indentation
This commit is contained in:
parent
92b79a1914
commit
1fb793509c
1 changed files with 20 additions and 20 deletions
|
@ -35,7 +35,7 @@ write_of(const struct attrib * a, FILE* F)
|
|||
|
||||
int
|
||||
read_of(struct attrib * a, FILE* F) /* return 1 on success, 0 if attrib needs removal */
|
||||
{
|
||||
{
|
||||
int of, result;
|
||||
result = fscanf(F, "%d", &of);
|
||||
if (result<0) return result;
|
||||
|
@ -49,13 +49,13 @@ attrib_type at_otherfaction = {
|
|||
};
|
||||
|
||||
struct faction *
|
||||
get_otherfaction(const struct attrib * a)
|
||||
get_otherfaction(const struct attrib * a)
|
||||
{
|
||||
return (faction*)(a->data.v);
|
||||
}
|
||||
|
||||
struct attrib *
|
||||
make_otherfaction(struct faction * f)
|
||||
make_otherfaction(struct faction * f)
|
||||
{
|
||||
attrib * a = a_new(&at_otherfaction);
|
||||
a->data.v = (void*)f;
|
||||
|
|
Loading…
Reference in a new issue