[haiku-development] src_libs_compat_freebsd_network_compat_sys_param.h.diff

  • From: kaoutsis <kaoutsis@xxxxxx>
  • To: haiku-development <haiku-development@xxxxxxxxxxxxx>
  • Date: Wed, 28 May 2008 16:25:46 +0300

Hi there,

src_libs_compat_freebsd_network_compat_sys_param.h.diff:
* removed from param.h the PAGE_SIZE definition since it exists
in headers/posix/limits.h; this fixes several warnings of the type:
src/libs/compat/freebsd_network/compat/sys/param.h:19: warning: `PAGE_SIZE' redefined headers/posix/limits.h:40: warning: this is the location of the previous definition

good bye,
   Vasilis

Index: src/libs/compat/freebsd_network/compat/sys/param.h
===================================================================
--- src/libs/compat/freebsd_network/compat/sys/param.h  (revision 25679)
+++ src/libs/compat/freebsd_network/compat/sys/param.h  (working copy)
@@ -16,7 +16,6 @@
 #define MAXBSIZE       0x10000
 
 #define PAGE_SHIFT     12
-#define PAGE_SIZE      B_PAGE_SIZE
 #define PAGE_MASK      (PAGE_SIZE - 1)
 
 

Other related posts:

  • » [haiku-development] src_libs_compat_freebsd_network_compat_sys_param.h.diff