Indentation fix, cleanup.
[AROS.git] / rom / dos / bstr_helper.c
bloba366bd00bc4d3a364dbcd4d58f42a0eb97430d6b
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
4 Desc: BSTR helpers
5 Lang: English
6 */
8 #include <aros/debug.h>
9 #include <proto/exec.h>
10 #include <dos/dosextens.h>
12 static void BSTR2CINLINE(char *s)
14 UBYTE len = s[0];
15 memmove(s, s + 1, len);
16 s[len] = 0;
19 void fixfib(struct FileInfoBlock *fib)
21 BSTR2CINLINE(fib->fib_FileName);
22 BSTR2CINLINE(fib->fib_Comment);