Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure in librump



On Sat, 25 Apr 2009, Paul Goyette wrote:

From sources updated just minutes ago...

cc1: warnings being treated as errors
/build/netbsd-local/src/lib/librump/../../sys/rump/librump/rumpkern/emul.c:675:
warning: no previous prototype for 'sessdelete'

This appears to be related to

http://mail-index.netbsd.org/source-changes/2009/04/25/msg220332.html

The attached patch should help emul.c catch up to this latest change to sys/proc.h


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
Index: emul.c
===================================================================
RCS file: /cvsroot/src/sys/rump/librump/rumpkern/emul.c,v
retrieving revision 1.85
diff -u -p -r1.85 emul.c
--- emul.c      30 Mar 2009 12:47:49 -0000      1.85
+++ emul.c      26 Apr 2009 02:31:44 -0000
@@ -671,10 +671,17 @@ kpreempt_enable(void)
 }
 
 void
-sessdelete(struct session *ss)
+proc_sesshold(struct session *ss)
 {
 
-       panic("sessdelete() impossible, session %p", ss);
+       panic("proc_sesshold() impossible, session %p", ss);
+}
+
+void
+proc_sessrele(struct session *ss)
+{
+
+       panic("proc_sessrele() impossible, session %p", ss);
 }
 
 int


Home | Main Index | Thread Index | Old Index