conflicting types for sys_swap{on,off} Re: Linux 2.5.44-ac5

From: Tom Vier (tmv@comcast.net)
Date: Mon Oct 28 2002 - 17:46:51 EST


i'm not sure how to fix this. does anyone have a patch?

make -f kernel/Makefile
  gcc -Wp,-MD,kernel/.sys.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=sys -DEXPORT_SYMTAB -c -o kernel/sys.o kernel/sys.c
kernel/sys.c:216: conflicting types for `sys_swapon'
include/linux/swap.h:212: previous declaration of `sys_swapon'
kernel/sys.c:217: conflicting types for `sys_swapoff'
include/linux/swap.h:211: previous declaration of `sys_swapoff'
make[1]: *** [kernel/sys.o] Error 1
make: *** [kernel] Error 2

-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:40 EST