97ff422b68
+ Use the mnttab(4) interface instead of mntent. + C++ syntax cleanups to appease the SunPro compiler. + Use MAXPATHLEN instead of NAME_MAX which can be unimplemented on strict POSIX systems. + Use POSIX inttypes.h if BSD types are not available. + RPC includes and C++ namespace fixes. + Use dirent(3) instead of older sys/dir.h interface. + Avoid `sun' namespace collision. Patch based on the work of Robert Lillack and others, described in http://mail-index.netbsd.org/tech-pkg/2004/08/20/0005.html and tested with SunPro and gcc.
13 lines
380 B
Text
13 lines
380 B
Text
$NetBSD: patch-an,v 1.4 2004/11/19 12:35:22 sketch Exp $
|
|
|
|
--- src/Scheduler.h.orig 2004-11-08 14:42:30.148229000 +0000
|
|
+++ src/Scheduler.h 2004-11-08 14:43:04.014844000 +0000
|
|
@@ -88,8 +88,6 @@
|
|
static void loop() { running = true;
|
|
while (running) select(); }
|
|
|
|
-private:
|
|
-
|
|
// Per-filedescriptor info is the set of three handlers and their
|
|
// closures.
|
|
|