1 diff -ur AfterStep-2.2.11/libAfterBase/asvector.c AfterStep-2.2.11.new/libAfterBase/asvector.c
2 --- AfterStep-2.2.11/libAfterBase/asvector.c 2008-12-02 23:35:37.000000000 +0100
3 +++ AfterStep-2.2.11.new/libAfterBase/asvector.c 2016-11-14 03:08:00.612801550 +0100
6 /* finds index of the first element in the vector that is exactly matching specifyed
8 -inline size_t vector_find_data( ASVector *v, void *data )
9 +extern inline size_t vector_find_data( ASVector *v, void *data )
12 /* word copying is usually faster then raw memory copying */
13 diff -ur AfterStep-2.2.11/libAfterBase/parse.c AfterStep-2.2.11.new/libAfterBase/parse.c
14 --- AfterStep-2.2.11/libAfterBase/parse.c 2009-02-12 00:32:02.000000000 +0100
15 +++ AfterStep-2.2.11.new/libAfterBase/parse.c 2016-11-14 03:06:32.054859699 +0100
18 static char _as_hex_to_char_table[] = "0123456789ABCDEF";
22 unsigned_int2buffer_end (char *buffer, int buffer_size, unsigned int val)
24 int i = buffer_size-1 ;
25 diff -ur AfterStep-2.2.11/libAfterStep/functions.c AfterStep-2.2.11.new/libAfterStep/functions.c
26 --- AfterStep-2.2.11/libAfterStep/functions.c 2009-12-11 23:38:48.000000000 +0100
27 +++ AfterStep-2.2.11.new/libAfterStep/functions.c 2016-11-14 03:04:31.641924138 +0100
32 -inline FunctionData *
33 +extern inline FunctionData *
34 create_named_function( int func, char *name)
36 FunctionData *fdata = safecalloc( 1, sizeof(FunctionData) );
37 diff -ur AfterStep-2.2.11/libAfterStep/mylook.c AfterStep-2.2.11.new/libAfterStep/mylook.c
38 --- AfterStep-2.2.11/libAfterStep/mylook.c 2008-01-10 00:23:13.000000000 +0100
39 +++ AfterStep-2.2.11.new/libAfterStep/mylook.c 2016-11-14 03:10:59.618805004 +0100
44 -inline MyDesktopConfig *
45 +extern inline MyDesktopConfig *
46 mylook_get_desk_config(MyLook *look, long desk)
53 -inline MyBackground *
54 +extern inline MyBackground *
55 mylook_get_desk_back(MyLook *look, long desk)
57 MyBackground *myback = NULL ;
62 -inline MyBackground *
63 +extern inline MyBackground *
64 mylook_get_back(MyLook *look, char *name)
66 ASHashData hdata = {0};
67 diff -ur AfterStep-2.2.11/src/afterstep/misc.c AfterStep-2.2.11.new/src/afterstep/misc.c
68 --- AfterStep-2.2.11/src/afterstep/misc.c 2005-04-01 18:36:57.000000000 +0200
69 +++ AfterStep-2.2.11.new/src/afterstep/misc.c 2016-11-14 03:09:49.125128119 +0100
71 /****************************************************************************/
72 /* window management specifics - button ungrabbing convinience functions: */
73 /****************************************************************************/
76 ungrab_window_buttons( Window w )
78 LOCAL_DEBUG_OUT( "w = %lX", w );
79 XUngrabButton (dpy, AnyButton, AnyModifier, w);
84 ungrab_window_keys (Window w )
86 XUngrabKey (dpy, AnyKey, AnyModifier, w);