File: 5-strerror

package info (click to toggle)
gnuserv 3.12.8-12
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 832 kB
  • sloc: ansic: 5,138; lisp: 1,572; makefile: 419; sh: 268
file content (20 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Mike O'Connor <stew@vireo.org>
Subject: clean up strerror macro mess 

--- a/sysfile.h
+++ b/sysfile.h
@@ -422,14 +422,6 @@ extern int h_errno;
 int dup2 (int oldd, int newd);
 #endif
 
-#ifndef HAVE_STRERROR
-/* X11R6 defines strerror as a macro */
-# ifdef strerror
-# undef strerror
-# endif
-const char *strerror (int);
-#endif
-
 
 
 /*