/[gentoo-x86]/sys-fs/lessfs/files/lessfs-implicit-declaration.patch
Gentoo

Contents of /sys-fs/lessfs/files/lessfs-implicit-declaration.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Oct 28 10:41:07 2010 UTC (4 years, 9 months ago) by hwoarang
Branch: MAIN
Version bump. Remove old. Apply patch to fix QA problems wrt implicit function declarations

(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)

1 Index: lessfs-1.1.9.10/file_io.c
2 ===================================================================
3 --- lessfs-1.1.9.10.orig/file_io.c
4 +++ lessfs-1.1.9.10/file_io.c
5 @@ -86,6 +86,8 @@ extern unsigned int dbu_qcount;
6
7 #define die_dataerr(f...) { LFATAL(f); exit(EXIT_DATAERR); }
8
9 +// missing declarations
10 +void write_trunc_todolist(struct truncate_thread_data *trunc_data);
11 INUSE *file_get_inuse(unsigned char *stiger)
12 {
13 INUSE *inuse;
14 Index: lessfs-1.1.9.10/lessfs.c
15 ===================================================================
16 --- lessfs-1.1.9.10.orig/lessfs.c
17 +++ lessfs-1.1.9.10/lessfs.c
18 @@ -84,6 +84,11 @@
19
20 #include "commons.h"
21
22 +//missing declarations
23 +void invalidate_p2i(char *filename);
24 +int send_backlog();
25 +void restart_truncation();
26 +
27 void segvExit()
28 {
29 LFATAL("Exit caused by segfault!, exitting\n");

  ViewVC Help
Powered by ViewVC 1.1.20