blob: dc77ddb4c118deaa2b1263105a8cdb19e39ca5ea (
plain)
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
|
--- ./lib/syck_st.c~ 2003-03-04 17:10:11.000000000 +0000
+++ ./lib/syck_st.c 2007-06-04 15:00:22.000000000 +0100
@@ -5,6 +5,7 @@
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "syck_st.h"
#ifdef NT
@@ -54,7 +55,6 @@
numhash,
};
-extern int strcmp();
static int strhash();
static struct st_hash_type type_strhash = {
strcmp,
--- ./lib/syck.h~ 2005-04-13 07:27:54.000000000 +0100
+++ ./lib/syck.h 2007-06-04 14:26:32.000000000 +0100
@@ -17,6 +17,8 @@
#define YAML_DOMAIN "yaml.org,2002"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#ifdef HAVE_ST_H
#include <st.h>
--- ./lib/emitter.c~ 2007-06-04 15:40:23.000000000 +0100
+++ ./lib/emitter.c 2007-06-04 15:51:03.000000000 +0100
@@ -378,7 +378,8 @@
{
SYMID oid;
char *anchor_name = NULL;
- int indent = 0, x = 0;
+ int indent = 0;
+ long x = 0;
SyckLevel *lvl = syck_emitter_current_level( e );
/* Add new level */
|