summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrezak <brezak@NetBSD.org>1993-06-03 19:20:39 +0000
committerbrezak <brezak@NetBSD.org>1993-06-03 19:20:39 +0000
commit9d173c74756a5e4d57631d15a4e2ed1b3e79d4b8 (patch)
tree81c3495772120a26a29c261cd29a45c22d4be3f8 /include
parent564a0442b07d5a40f9626a6f67d79df0cabc89a3 (diff)
Put protocol definition at end so it compiles.
Diffstat (limited to 'include')
-rw-r--r--include/rpcsvc/klm_prot.x31
1 files changed, 16 insertions, 15 deletions
diff --git a/include/rpcsvc/klm_prot.x b/include/rpcsvc/klm_prot.x
index e23caf40f74..f498af6fd97 100644
--- a/include/rpcsvc/klm_prot.x
+++ b/include/rpcsvc/klm_prot.x
@@ -38,21 +38,6 @@
* local lock manager. The local lock manager is a deamon running
* above the kernel.
*/
-program KLM_PROG {
- version KLM_VERS {
-
- klm_testrply KLM_TEST (struct klm_testargs) = 1;
-
- klm_stat KLM_LOCK (struct klm_lockargs) = 2;
-
- klm_stat KLM_CANCEL (struct klm_lockargs) = 3;
- /* klm_granted=> the cancel request fails due to lock is already granted */
- /* klm_denied=> the cancel request successfully aborts
-lock request */
-
- klm_stat KLM_UNLOCK (struct klm_unlockargs) = 4;
- } = 1;
-} = 100020;
const LM_MAXSTRLEN = 1024;
@@ -130,3 +115,19 @@ struct klm_testargs {
struct klm_unlockargs {
struct klm_lock alock;
};
+
+program KLM_PROG {
+ version KLM_VERS {
+
+ klm_testrply KLM_TEST (struct klm_testargs) = 1;
+
+ klm_stat KLM_LOCK (struct klm_lockargs) = 2;
+
+ klm_stat KLM_CANCEL (struct klm_lockargs) = 3;
+ /* klm_granted=> the cancel request fails due to lock is already granted */
+ /* klm_denied=> the cancel request successfully aborts
+lock request */
+
+ klm_stat KLM_UNLOCK (struct klm_unlockargs) = 4;
+ } = 1;
+} = 100020;