summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-08-03 21:53:13 +0000
committermycroft <mycroft@NetBSD.org>1993-08-03 21:53:13 +0000
commit88d7d7d35d4d3ca7aa6a65afd05c43cd0549f79b (patch)
tree9b069ad840cc3841427646d0f26de9b5844fda34 /include
parent63c0a317bb541eb40e3c62b6de52e81675f8eb95 (diff)
Oops. Don't include the rcsid strings in generated .h files.
Diffstat (limited to 'include')
-rw-r--r--include/rpcsvc/bootparam_prot.x11
-rw-r--r--include/rpcsvc/klm_prot.x13
-rw-r--r--include/rpcsvc/mount.x12
-rw-r--r--include/rpcsvc/nfs_prot.x9
-rw-r--r--include/rpcsvc/nlm_prot.x12
-rw-r--r--include/rpcsvc/rex.x13
-rw-r--r--include/rpcsvc/rnusers.x13
-rw-r--r--include/rpcsvc/rquota.x14
-rw-r--r--include/rpcsvc/rstat.x13
-rw-r--r--include/rpcsvc/rwall.x9
-rw-r--r--include/rpcsvc/sm_inter.x12
-rw-r--r--include/rpcsvc/spray.x13
-rw-r--r--include/rpcsvc/yp.x11
-rw-r--r--include/rpcsvc/yppasswd.x14
14 files changed, 102 insertions, 67 deletions
diff --git a/include/rpcsvc/bootparam_prot.x b/include/rpcsvc/bootparam_prot.x
index e4456489d49..01f31a6568d 100644
--- a/include/rpcsvc/bootparam_prot.x
+++ b/include/rpcsvc/bootparam_prot.x
@@ -26,11 +26,6 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid = "from: @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro";*/
-%/*static char sccsid = "from: @(#)bootparam_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid = "$Id: bootparam_prot.x,v 1.3 1993/08/03 13:18:03 mycroft Exp $";
-#endif /* not lint */
/*
* RPC for bootparms service.
@@ -47,6 +42,12 @@
%#include <sys/time.h>
%#include <sys/errno.h>
%#include <nfs/nfs.h>
+#else
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)bootparam_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: bootparam_prot.x,v 1.4 1993/08/03 21:53:13 mycroft Exp $";
+%#endif /* not lint */
#endif
const MAX_MACHINE_NAME = 255;
diff --git a/include/rpcsvc/klm_prot.x b/include/rpcsvc/klm_prot.x
index 9b808ef3455..f8982a0c8fb 100644
--- a/include/rpcsvc/klm_prot.x
+++ b/include/rpcsvc/klm_prot.x
@@ -26,11 +26,6 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid = "from: @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro";*/
-%/*static char sccsid = "from: @(#)klm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid = "$Id: klm_prot.x,v 1.4 1993/08/03 13:18:04 mycroft Exp $";
-#endif /* not lint */
/*
* Kernel/lock manager protocol definition
@@ -41,6 +36,14 @@
* above the kernel.
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)klm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: klm_prot.x,v 1.5 1993/08/03 21:53:16 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const LM_MAXSTRLEN = 1024;
/*
diff --git a/include/rpcsvc/mount.x b/include/rpcsvc/mount.x
index 0cf8fb0673a..b1e2c31fb94 100644
--- a/include/rpcsvc/mount.x
+++ b/include/rpcsvc/mount.x
@@ -26,16 +26,18 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: mount.x,v 1.3 1993/08/03 13:18:05 mycroft Exp $";
-#endif /* not lint */
/*
* Protocol description for the mount program
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: mount.x,v 1.4 1993/08/03 21:53:18 mycroft Exp $";
+%#endif /* not lint */
+#endif
const MNTPATHLEN = 1024; /* maximum bytes in a pathname argument */
const MNTNAMLEN = 255; /* maximum bytes in a name argument */
diff --git a/include/rpcsvc/nfs_prot.x b/include/rpcsvc/nfs_prot.x
index 5ad21fcbbb6..818e5a23169 100644
--- a/include/rpcsvc/nfs_prot.x
+++ b/include/rpcsvc/nfs_prot.x
@@ -26,11 +26,14 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
+
+#ifndef RPC_HDR
+%#ifndef lint
%/*static char sccsid[] = "from: @(#)nfs_prot.x 1.2 87/10/12 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: nfs_prot.x,v 1.3 1993/08/03 13:18:06 mycroft Exp $";
-#endif /* not lint */
+%static char rcsid[] = "$Id: nfs_prot.x,v 1.4 1993/08/03 21:53:20 mycroft Exp $";
+%#endif /* not lint */
+#endif
const NFS_PORT = 2049;
const NFS_MAXDATA = 8192;
diff --git a/include/rpcsvc/nlm_prot.x b/include/rpcsvc/nlm_prot.x
index 043664270b6..27bbd9490f5 100644
--- a/include/rpcsvc/nlm_prot.x
+++ b/include/rpcsvc/nlm_prot.x
@@ -1,9 +1,3 @@
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: nlm_prot.x,v 1.3 1993/08/03 13:18:06 mycroft Exp $";
-#endif /* not lint */
-
/*
* Network lock manager protocol definition
* Copyright (C) 1986 Sun Microsystems, Inc.
@@ -14,6 +8,12 @@
#ifdef RPC_HDR
%#define LM_MAXSTRLEN 1024
%#define MAXNAMELEN LM_MAXSTRLEN+1
+#else
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: nlm_prot.x,v 1.4 1993/08/03 21:53:22 mycroft Exp $";
+%#endif /* not lint */
#endif
/*
diff --git a/include/rpcsvc/rex.x b/include/rpcsvc/rex.x
index ae35d208348..d3ab0320a78 100644
--- a/include/rpcsvc/rex.x
+++ b/include/rpcsvc/rex.x
@@ -26,16 +26,19 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)rex.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: rex.x,v 1.3 1993/08/03 13:18:07 mycroft Exp $";
-#endif /* not lint */
/*
* Remote execution (rex) protocol specification
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)rex.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: rex.x,v 1.4 1993/08/03 21:53:23 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const STRINGSIZE = 1024;
typedef string rexstring<1024>;
diff --git a/include/rpcsvc/rnusers.x b/include/rpcsvc/rnusers.x
index f7a24256c23..cce3353d1cc 100644
--- a/include/rpcsvc/rnusers.x
+++ b/include/rpcsvc/rnusers.x
@@ -26,16 +26,19 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: rnusers.x,v 1.4 1993/08/03 13:18:08 mycroft Exp $";
-#endif /* not lint */
/*
* Find out about remote users
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: rnusers.x,v 1.5 1993/08/03 21:53:25 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const MAXUSERS = 100;
const MAXUTLEN = 256;
diff --git a/include/rpcsvc/rquota.x b/include/rpcsvc/rquota.x
index 843b2cd50d7..296e8589f44 100644
--- a/include/rpcsvc/rquota.x
+++ b/include/rpcsvc/rquota.x
@@ -1,14 +1,16 @@
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: rquota.x,v 1.3 1993/08/03 13:18:09 mycroft Exp $";
-#endif /* not lint */
-
/*
* Remote quota protocol
* Requires unix authentication
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: rquota.x,v 1.4 1993/08/03 21:53:26 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const RQ_PATHLEN = 1024;
struct getquota_args {
diff --git a/include/rpcsvc/rstat.x b/include/rpcsvc/rstat.x
index 70c8aad857b..8557dd38e4f 100644
--- a/include/rpcsvc/rstat.x
+++ b/include/rpcsvc/rstat.x
@@ -26,11 +26,6 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)rstat.x 2.2 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: rstat.x,v 1.3 1993/08/03 13:18:10 mycroft Exp $";
-#endif /* not lint */
/*
* Gather statistics on remote machines
@@ -47,6 +42,14 @@
%
%#endif /* ndef FSCALE */
+#else
+
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)rstat.x 2.2 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: rstat.x,v 1.4 1993/08/03 21:53:27 mycroft Exp $";
+%#endif /* not lint */
+
#endif /* def RPC_HDR */
const CPUSTATES = 4;
diff --git a/include/rpcsvc/rwall.x b/include/rpcsvc/rwall.x
index 810f86b85a7..5e20b59834b 100644
--- a/include/rpcsvc/rwall.x
+++ b/include/rpcsvc/rwall.x
@@ -26,9 +26,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#ifndef lint
-%static char rcsid[] = "$Id: rwall.x,v 1.2 1993/08/03 13:18:11 mycroft Exp $";
-#endif /* not lint */
/*
* rpc protocol definition for (remote) wall protocol
@@ -36,6 +33,12 @@
* this has to be compatible with sun's definition
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%static char rcsid[] = "$Id: rwall.x,v 1.3 1993/08/03 21:53:29 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
program WALLPROG {
version WALLVERS {
void WALLPROC_WALL(string) = 2;
diff --git a/include/rpcsvc/sm_inter.x b/include/rpcsvc/sm_inter.x
index 8a605041f7f..52730fdd03f 100644
--- a/include/rpcsvc/sm_inter.x
+++ b/include/rpcsvc/sm_inter.x
@@ -26,11 +26,6 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: sm_inter.x,v 1.3 1993/08/03 13:18:12 mycroft Exp $";
-#endif /* not lint */
/*
* Status monitor protocol specification
@@ -38,6 +33,13 @@
*
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: sm_inter.x,v 1.4 1993/08/03 21:53:30 mycroft Exp $";
+%#endif /* not lint */
+#endif
program SM_PROG {
version SM_VERS {
diff --git a/include/rpcsvc/spray.x b/include/rpcsvc/spray.x
index 6a744bf0339..b20cd325e07 100644
--- a/include/rpcsvc/spray.x
+++ b/include/rpcsvc/spray.x
@@ -26,17 +26,20 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)spray.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: spray.x,v 1.3 1993/08/03 13:18:13 mycroft Exp $";
-#endif /* not lint */
/*
* Spray a server with packets
* Useful for testing flakiness of network interfaces
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)spray.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: spray.x,v 1.4 1993/08/03 21:53:31 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const SPRAYMAX = 8845; /* max amount can spray */
/*
diff --git a/include/rpcsvc/yp.x b/include/rpcsvc/yp.x
index aa8794747ec..0aad7054663 100644
--- a/include/rpcsvc/yp.x
+++ b/include/rpcsvc/yp.x
@@ -26,15 +26,18 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)yp.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: yp.x,v 1.3 1993/08/03 13:18:14 mycroft Exp $";
-#endif /* not lint */
/*
* Protocol description file for the Yellow Pages Service
*/
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)yp.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: yp.x,v 1.4 1993/08/03 21:53:32 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
const YPMAXRECORD = 1024;
const YPMAXDOMAIN = 64;
const YPMAXMAP = 64;
diff --git a/include/rpcsvc/yppasswd.x b/include/rpcsvc/yppasswd.x
index ed14445094b..03d6701daa8 100644
--- a/include/rpcsvc/yppasswd.x
+++ b/include/rpcsvc/yppasswd.x
@@ -26,16 +26,20 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#ifndef lint
-%/*static char sccsid[] = "from: @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro";*/
-%/*static char sccsid[] = "from: @(#)yppasswd.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: yppasswd.x,v 1.4 1993/08/03 13:18:14 mycroft Exp $";
-#endif /* not lint */
/*
* YP password update protocol
* Requires unix authentication
*/
+
+#ifndef RPC_HDR
+%#ifndef lint
+%/*static char sccsid[] = "from: @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro";*/
+%/*static char sccsid[] = "from: @(#)yppasswd.x 2.1 88/08/01 4.0 RPCSRC";*/
+%static char rcsid[] = "$Id: yppasswd.x,v 1.5 1993/08/03 21:53:34 mycroft Exp $";
+%#endif /* not lint */
+#endif
+
program YPPASSWDPROG {
version YPPASSWDVERS {
/*