summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-01-06 19:32:03 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-01-06 19:32:03 +0000
commitb16da2d20f9c2e9bd677a61e393751349db9b07f (patch)
tree0169f0dc5f6b1637c2a3490d83d84498c6ab2229 /legacy
parent2a3012715d249a5041c04a53aec894d65f3dd83a (diff)
* src/lib/evil_stdio.c:
* src/lib/evil_stdio.h: better perror() declaration / definition SVN revision: 55954
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evil/ChangeLog6
-rw-r--r--legacy/evil/src/lib/evil_stdio.c8
-rw-r--r--legacy/evil/src/lib/evil_stdio.h4
3 files changed, 13 insertions, 5 deletions
diff --git a/legacy/evil/ChangeLog b/legacy/evil/ChangeLog
index 4617296c27..67470568e4 100644
--- a/legacy/evil/ChangeLog
+++ b/legacy/evil/ChangeLog
@@ -1,3 +1,9 @@
12011-01-06 Vincent Torri <doursse at users dot sf dot net>
2
3 * src/lib/evil_stdio.c:
4 * src/lib/evil_stdio.h:
5 better perror() declaration / definition
6
12011-01-04 Vincent Torri <doursse at users dot sf dot net> 72011-01-04 Vincent Torri <doursse at users dot sf dot net>
2 8
3 * src/lib/evil_unistd.c: 9 * src/lib/evil_unistd.c:
diff --git a/legacy/evil/src/lib/evil_stdio.c b/legacy/evil/src/lib/evil_stdio.c
index 3ed0f89545..1fa4922ed6 100644
--- a/legacy/evil/src/lib/evil_stdio.c
+++ b/legacy/evil/src/lib/evil_stdio.c
@@ -15,10 +15,10 @@
15 * 15 *
16 */ 16 */
17 17
18/* void perror (const char *s __UNUSED__) */ 18void evil_perror (const char *s __UNUSED__)
19/* { */ 19{
20/* fprintf(stderr, "[Windows CE] error\n"); */ 20 fprintf(stderr, "[Windows CE] error\n");
21/* } */ 21}
22 22
23/* 23/*
24 * Stream related functions 24 * Stream related functions
diff --git a/legacy/evil/src/lib/evil_stdio.h b/legacy/evil/src/lib/evil_stdio.h
index c2eea2114f..7d40c1047c 100644
--- a/legacy/evil/src/lib/evil_stdio.h
+++ b/legacy/evil/src/lib/evil_stdio.h
@@ -20,7 +20,9 @@
20 * 20 *
21 */ 21 */
22 22
23/* EAPI void perror (const char *s); */ 23EAPI void evil_perror (const char *s);
24
25# define perror(s) evil_perror(s)
24 26
25/* 27/*
26 * Stream related functions 28 * Stream related functions