]> git.pld-linux.org Git - packages/AfterStep.git/blob - AfterStep-inline.patch
rel. 1
[packages/AfterStep.git] / AfterStep-inline.patch
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
4 @@ -126,7 +126,7 @@
5  
6  /* finds index of the first element in the vector that is exactly matching specifyed
7   * data */
8 -inline size_t vector_find_data( ASVector *v, void *data )
9 +extern inline size_t vector_find_data( ASVector *v, void *data )
10  {
11      register int i ;
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
16 @@ -1027,7 +1027,7 @@
17  
18  static char _as_hex_to_char_table[] = "0123456789ABCDEF";
19  
20 -inline int
21 +extern inline int
22  unsigned_int2buffer_end (char *buffer, int buffer_size, unsigned int val)
23  {
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
28 @@ -314,7 +314,7 @@
29      }
30  }
31  
32 -inline FunctionData *
33 +extern inline FunctionData *
34  create_named_function( int func, char *name)
35  {
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
40 @@ -861,7 +861,7 @@
41      return NULL;
42  }
43  
44 -inline MyDesktopConfig *
45 +extern inline MyDesktopConfig *
46  mylook_get_desk_config(MyLook *look, long desk)
47  {
48      if( look )
49 @@ -875,7 +875,7 @@
50  }
51  
52  
53 -inline MyBackground *
54 +extern inline MyBackground *
55  mylook_get_desk_back(MyLook *look, long desk)
56  {
57         MyBackground *myback = NULL ;
58 @@ -902,7 +902,7 @@
59  }
60  
61  
62 -inline MyBackground *
63 +extern inline MyBackground *
64  mylook_get_back(MyLook *look, char *name)
65  {
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
70 @@ -32,14 +32,14 @@
71  /****************************************************************************/
72  /* window management specifics - button ungrabbing convinience functions:   */
73  /****************************************************************************/
74 -inline void
75 +extern inline void
76  ungrab_window_buttons( Window w )
77  {
78         LOCAL_DEBUG_OUT( "w = %lX", w );
79      XUngrabButton (dpy, AnyButton, AnyModifier, w);
80  }
81  
82 -inline void
83 +extern inline void
84  ungrab_window_keys (Window w )
85  {
86      XUngrabKey (dpy, AnyKey, AnyModifier, w);
This page took 0.053633 seconds and 3 git commands to generate.