File: examples-includes.diff

package info (click to toggle)
libcsv 3.0.3%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,436 kB
  • sloc: sh: 10,209; ansic: 1,070; makefile: 32
file content (50 lines) | stat: -rw-r--r-- 1,216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Author: W. Martin Borgert <debacle@debian.org>
Description: Fix csv.h includes in examples.
Bug-Debian: https://bugs.debian.org/802667
Forwarded: no
Last-Update: 2015-11-28

--- a/examples/csvfix.c
+++ b/examples/csvfix.c
@@ -7,7 +7,7 @@ csvfix - reads (possibly malformed) CSV
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
-#include "libcsv/csv.h"
+#include <csv.h>
 
 void cb1 (void *s, size_t i, void *outfile) {
   csv_fwrite((FILE *)outfile, s, i);
--- a/examples/csvinfo.c
+++ b/examples/csvinfo.c
@@ -7,7 +7,7 @@ csvinfo - reads CSV data from input file
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
-#include "libcsv/csv.h"
+#include <csv.h>
 
 struct counts {
   long unsigned fields;
--- a/examples/csvtest.c
+++ b/examples/csvtest.c
@@ -8,7 +8,7 @@ csvtest - reads CSV data from stdin and
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
-#include "libcsv/csv.h"
+#include <csv.h>
 
 static int put_comma;
 
--- a/examples/csvvalid.c
+++ b/examples/csvvalid.c
@@ -7,7 +7,7 @@ csvvalid - determine if files are proper
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
-#include "libcsv/csv.h"
+#include <csv.h>
 
 int
 main (int argc, char *argv[])