From 0e5693fd948ef235b85b6a3d79823cf1171d6154 Mon Sep 17 00:00:00 2001 From: guenther Date: Wed, 21 Jan 2015 09:49:37 +0000 Subject: [PATCH] Pass times as int64_t and eliminate the (long disabled) mount request. ABI change, so roll the RPC protocol version; how about 57 for OpenBSD 5.7? --- usr.sbin/amd/rpcx/amq.x | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/usr.sbin/amd/rpcx/amq.x b/usr.sbin/amd/rpcx/amq.x index 832e661a329..716b35f7ae8 100644 --- a/usr.sbin/amd/rpcx/amq.x +++ b/usr.sbin/amd/rpcx/amq.x @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)amq.x 8.1 (Berkeley) 6/6/93 - * $Id: amq.x,v 1.5 2003/11/08 19:17:29 jmc Exp $ + * $Id: amq.x,v 1.6 2015/01/21 09:49:37 guenther Exp $ * */ @@ -49,9 +49,8 @@ typedef string amq_string; /* * The type time_type should correspond to the system time_t - * XXX int/long time_t garbage; this needs to be a 32-bit integer */ -typedef int time_type; +typedef int64_t time_type; /* * A tree of what is mounted @@ -166,16 +165,10 @@ program AMQ_PROGRAM { amq_mount_info_list AMQPROC_GETMNTFS(void) = 6; - /* - * Mount a filesystem - */ - int - AMQPROC_MOUNT(amq_string) = 7; - /* * Get version info */ amq_string - AMQPROC_GETVERS(void) = 8; - } = 1; + AMQPROC_GETVERS(void) = 7; + } = 57; } = 300019; /* Allocated by Sun, 89/8/29 */ -- 2.20.1