File: 0001-error.h-include-errno.h-instead-of-extern-int.diff

package info (click to toggle)
dot-forward 1%3A0.71-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: ansic: 4,981; makefile: 321; sh: 153
file content (25 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (6)
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
From ba259a8d95ede266cca9634e4c25db17b55bd022 Mon Sep 17 00:00:00 2001
From: Gerrit Pape <pape@smarden.org>
Date: Mon, 9 Jun 2008 19:44:15 +0000
Subject: [PATCH] error.h: '#include <errno.h>' instead of 'extern int errno;'

---
 error.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/error.h b/error.h
index 01bd3dc..5d98c6b 100644
--- a/error.h
+++ b/error.h
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;
-- 
1.5.5.3