1 |
On Thu, Feb 08, 2007 at 10:23:09AM +0930, Iain Buchanan wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> I'm trying to use: |
5 |
> |
6 |
> _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); |
7 |
> _syscall2(int, ioprio_get, int, which, int, who); |
8 |
> |
9 |
> and supposedly I just |
10 |
> |
11 |
> #include <linux/unistd.h> |
12 |
> |
13 |
> but I'm getting these error from gcc: |
14 |
> |
15 |
> error: syntax error before "ioprio_set" |
16 |
> warning: data definition has no type or storage class |
17 |
> error: syntax error before "ioprio_get" |
18 |
> warning: data definition has no type or storage class |
19 |
|
20 |
Hi, |
21 |
|
22 |
It would be helpful to provide us with the failing code as we have no |
23 |
clue what you could be doing wrong. |
24 |
-- |
25 |
gentoo-user@g.o mailing list |