"Initial commit to Gerrit"
[profile/ivi/libedit.git] / packaging / 01-vis.h.patch
1 --- export/src/vis.h    2009-09-23 22:55:51.000000000 +0200
2 +++ ../src/vis.h        2009-09-23 23:04:26.000000000 +0200
3 @@ -34,7 +34,7 @@
4  #ifndef _VIS_H_
5  #define        _VIS_H_
6  
7 -#include <sys/types.h>
8 +#include <config.h>
9  
10  /*
11   * to select alternate encoding format
12 @@ -73,8 +73,6 @@
13   */
14  #define        UNVIS_END       1       /* no more characters */
15  
16 -#include <sys/cdefs.h>
17 -
18  __BEGIN_DECLS
19  char   *vis(char *, int, int, int);
20  char   *svis(char *, int, int, int, const char *);
21 @@ -85,7 +83,7 @@
22  int    strunvis(char *, const char *);
23  int    strunvisx(char *, const char *, int);
24  #ifndef __LIBC12_SOURCE__
25 -int    unvis(char *, int, int *, int) __RENAME(__unvis13);
26 +int    unvis(char *, int, int *, int);
27  #endif
28  __END_DECLS
29