Re: implicit declaration of function `abs'

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu Feb 24 2000 - 13:48:04 EST


Q wrote:
>
> In file included from /usr/src/linux/include/linux/capability.h:13,
> from /usr/src/linux/include/linux/binfmts.h:5,
> from /usr/src/linux/include/linux/sched.h:8,
> from /usr/src/linux/include/linux/mm.h:4,
> from /usr/src/linux/include/linux/slab.h:14,
> from /usr/src/linux/include/linux/malloc.h:4,
> from /usr/src/linux/include/linux/proc_fs.h:5,
> from init/main.c:15:
> /usr/src/linux/include/linux/fs.h: In function `locks_verify_truncate':
> /usr/src/linux/include/linux/fs.h:769: warning: implicit declaration of
> function `abs'

I get this when compiling on PPC, maybe due to its use of -fno-builtin?
I had a feeling that we should define it in a central header...

-- 
Jeff Garzik              |
Building 1024            | Viva la open source!
MandrakeSoft, Inc.       |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:10 EST