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

package info (click to toggle)
ucspi-tcp 1%3A0.88-3.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,220 kB
  • ctags: 691
  • sloc: ansic: 5,613; makefile: 773; sh: 153
file content (25 lines) | stat: -rw-r--r-- 541 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 f40f579bf6a031034ab1d4998fc60b768dfb3a6a Mon Sep 17 00:00:00 2001
From: Gerrit Pape <pape@smarden.org>
Date: Wed, 12 Dec 2007 16:28:18 +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 d5f3c7e..f660d93 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