SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
x11/afterstep/patches/patch-libAfterBase_asvector_c
Normal file
29
x11/afterstep/patches/patch-libAfterBase_asvector_c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- libAfterBase/asvector.c.orig
|
||||
+++ libAfterBase/asvector.c
|
||||
@@ -170,7 +170,7 @@ inline size_t vector_find_data( ASVector *v, void *dat
|
||||
return i;
|
||||
}
|
||||
|
||||
-inline void vector_move_data_up( ASVector *v, int index, int offset, int length )
|
||||
+static inline void vector_move_data_up( ASVector *v, int index, int offset, int length )
|
||||
{
|
||||
register int i ;
|
||||
/* word copying is usually faster then raw memory copying */
|
||||
@@ -210,7 +210,7 @@ LOCAL_DEBUG_OUT ("index = %d, offset = %d, length = %d
|
||||
}
|
||||
}
|
||||
|
||||
-inline void vector_move_data_down( ASVector *v, int index, int offset, int length )
|
||||
+static inline void vector_move_data_down( ASVector *v, int index, int offset, int length )
|
||||
{
|
||||
register int i ;
|
||||
/* word copying is usually faster then raw memory copying */
|
||||
@@ -244,7 +244,7 @@ LOCAL_DEBUG_OUT ("index = %d, offset = %d, length = %d
|
||||
}
|
||||
}
|
||||
|
||||
-inline void vector_set_data( ASVector *v, void *data, int offset, int length)
|
||||
+static inline void vector_set_data( ASVector *v, void *data, int offset, int length)
|
||||
{
|
||||
register int i ;
|
||||
/* word copying is usually faster then raw memory copying */
|
Loading…
Add table
Add a link
Reference in a new issue