]> git.pld-linux.org Git - packages/trousers.git/blob - no_inline.patch
cb4c1a9f8f77bce694cc47dac33a38130c761ae4
[packages/trousers.git] / no_inline.patch
1 diff -dur trousers-0.3.13.orig/src/include/tcsps.h trousers-0.3.13/src/include/tcsps.h
2 --- trousers-0.3.13.orig/src/include/tcsps.h    2014-04-24 20:05:44.000000000 +0200
3 +++ trousers-0.3.13/src/include/tcsps.h 2016-09-27 14:38:43.000000000 +0200
4 @@ -23,13 +23,6 @@
5  int               put_file(int);
6  void              close_file(int);
7  void              ps_destroy();
8 -#ifdef SOLARIS
9 -TSS_RESULT  read_data(int, void *, UINT32);
10 -TSS_RESULT  write_data(int, void *, UINT32);
11 -#else
12 -inline TSS_RESULT  read_data(int, void *, UINT32);
13 -inline TSS_RESULT  write_data(int, void *, UINT32);
14 -#endif
15  int               write_key_init(int, UINT32, UINT32, UINT32);
16  TSS_RESULT        cache_key(UINT32, UINT16, TSS_UUID *, TSS_UUID *, UINT16, UINT32, UINT32);
17  TSS_RESULT        UnloadBlob_KEY_PS(UINT16 *, BYTE *, TSS_KEY *);
18 diff -dur trousers-0.3.13.orig/src/include/tspps.h trousers-0.3.13/src/include/tspps.h
19 --- trousers-0.3.13.orig/src/include/tspps.h    2014-04-24 20:05:44.000000000 +0200
20 +++ trousers-0.3.13/src/include/tspps.h 2016-09-27 14:38:43.000000000 +0200
21 @@ -18,8 +18,8 @@
22  
23  TSS_RESULT        get_file(int *);
24  int               put_file(int);
25 -inline TSS_RESULT  read_data(int, void *, UINT32);
26 -inline TSS_RESULT  write_data(int, void *, UINT32);
27 +TSS_RESULT  read_data(int, void *, UINT32);
28 +TSS_RESULT  write_data(int, void *, UINT32);
29  UINT32            psfile_get_num_keys(int);
30  TSS_RESULT        psfile_get_parent_uuid_by_uuid(int, TSS_UUID *, TSS_UUID *);
31  TSS_RESULT        psfile_remove_key_by_uuid(int, TSS_UUID *);
32 diff -dur trousers-0.3.13.orig/src/tcs/ps/ps_utils.c trousers-0.3.13/src/tcs/ps/ps_utils.c
33 --- trousers-0.3.13.orig/src/tcs/ps/ps_utils.c  2014-04-24 20:05:44.000000000 +0200
34 +++ trousers-0.3.13/src/tcs/ps/ps_utils.c       2016-09-27 14:39:40.000000000 +0200
35 @@ -42,11 +42,7 @@
36  struct key_disk_cache *key_disk_cache_head = NULL;
37  
38  
39 -#ifdef SOLARIS
40  TSS_RESULT
41 -#else
42 -inline TSS_RESULT
43 -#endif
44  read_data(int fd, void *data, UINT32 size)
45  {
46         int rc;
47 @@ -64,11 +60,7 @@
48  }
49  
50  
51 -#ifdef SOLARIS
52  TSS_RESULT
53 -#else
54 -inline TSS_RESULT
55 -#endif
56  write_data(int fd, void *data, UINT32 size)
57  {
58         int rc;
59 Only in trousers-0.3.13/src/tcs/ps: ps_utils.c~
This page took 0.156128 seconds and 3 git commands to generate.