From babbc19713c230cae03e0c6dae73df0c92c49b7f Mon Sep 17 00:00:00 2001 From: mar Date: Tue, 13 Sep 1988 15:50:39 +0000 Subject: [PATCH] added copyright message --- clients/moira/menu.c | 1 + lib/critical.c | 5 +++++ lib/fixhost.c | 11 +++-------- lib/fixname.c | 11 +++-------- lib/hash.c | 5 +++++ lib/idno.c | 5 +++++ lib/mr_access.c | 14 +++----------- lib/mr_auth.c | 26 +++----------------------- lib/mr_call.c | 8 +++----- lib/mr_connect.c | 5 ++++- lib/mr_data.c | 13 +++---------- lib/mr_init.c | 8 +++----- lib/mr_ops.c | 5 ++++- lib/mr_param.c | 22 +++------------------- lib/mr_query.c | 19 +++---------------- lib/nfsparttype.c | 7 +++---- lib/sq.c | 5 +++++ lib/strs.c | 3 +++ reg_svr/admin_call.c | 3 +++ 19 files changed, 65 insertions(+), 111 deletions(-) diff --git a/clients/moira/menu.c b/clients/moira/menu.c index f760ba46..34ff23cc 100644 --- a/clients/moira/menu.c +++ b/clients/moira/menu.c @@ -22,6 +22,7 @@ static char rcsid_menu_c[] = "$Header$"; #endif lint +#include #include #include #include diff --git a/lib/critical.c b/lib/critical.c index dbfde118..b4f63c27 100644 --- a/lib/critical.c +++ b/lib/critical.c @@ -1,8 +1,13 @@ /* $Header$ * * Log and send a zephyrgram about any critical errors. + * + * (c) Copyright 1988 by the Massachusetts Institute of Technology. + * For copying and distribution information, please see the file + * . */ +#include #include #include #include diff --git a/lib/fixhost.c b/lib/fixhost.c index 059b4538..a7072b02 100644 --- a/lib/fixhost.c +++ b/lib/fixhost.c @@ -4,20 +4,15 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.2 1988-08-02 21:12:18 mar - * don't change hostname if it contains wildcards - * - * Revision 1.1 87/09/03 03:12:45 wesommer - * Initial revision - * + * For copying and distribution information, please see the file + * . */ #ifndef lint static char *rcsid_fixhost_c = "$Header$"; #endif lint +#include #include #include #include diff --git a/lib/fixname.c b/lib/fixname.c index 8bf968e9..356a4ec4 100644 --- a/lib/fixname.c +++ b/lib/fixname.c @@ -4,20 +4,15 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.2 1987-09-03 03:21:34 wesommer - * upped string lengths to reasonable levels. - * - * Revision 1.1 87/08/22 17:14:30 wesommer - * Initial revision - * + * For copying and distribution information, please see the file + * . */ #ifndef lint static char *rcsid_fixname_c = "$Header$"; #endif lint +#include #include #include diff --git a/lib/hash.c b/lib/hash.c index 1d61cbb3..f3482464 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1,8 +1,13 @@ /* $Header$ * * Generic hash table routines. Uses integer keys to store char * values. + * + * (c) Copyright 1988 by the Massachusetts Institute of Technology. + * For copying and distribution information, please see the file + * . */ +#include #include #include "sms_app.h" #define NULL 0 diff --git a/lib/idno.c b/lib/idno.c index 7d11372c..a0a58014 100644 --- a/lib/idno.c +++ b/lib/idno.c @@ -1,8 +1,13 @@ /* $Header$ * * Routines to encrypt ID's + * + * (c) Copyright 1988 by the Massachusetts Institute of Technology. + * For copying and distribution information, please see the file + * . */ +#include #include #include diff --git a/lib/mr_access.c b/lib/mr_access.c index c728c662..7fe0d3b7 100644 --- a/lib/mr_access.c +++ b/lib/mr_access.c @@ -4,23 +4,15 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.3 1988-04-19 12:41:39 mar - * pass version number on queries - * - * Revision 1.2 87/08/02 21:48:35 wesommer - * Got direction of test incorrect. - * - * Revision 1.1 87/06/23 16:13:00 wesommer - * Initial revision - * + * For copying and distribution information, please see the file + * . */ #ifndef lint static char *rcsid_sms_access_c = "$Header$"; #endif lint +#include #include "sms_private.h" /* diff --git a/lib/mr_auth.c b/lib/mr_auth.c index 195ce8a4..3316d3ef 100644 --- a/lib/mr_auth.c +++ b/lib/mr_auth.c @@ -4,29 +4,8 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.7 1988-06-21 13:46:05 mar - * changed name of kerberos call - * - * Revision 1.6 88/06/01 15:31:53 mar - * make auth do the right thing for version 2 of the protocol - * - * Revision 1.5 88/04/19 12:40:29 mar - * pass version number on queries - * - * Revision 1.4 87/10/20 15:09:22 mar - * replace hardcoded ATHENA realm with call to get_krbrlm(); - * - * Revision 1.3 87/06/16 17:47:20 wesommer - * Clean up memory allocation, indenting. - * - * Revision 1.2 87/05/31 22:03:23 wesommer - * It's working better. - * - * Revision 1.1 87/05/20 03:11:18 wesommer - * Initial revision - * + * For copying and distribution information, please see the file + * . * * Handles the client side of the sending of authenticators to * the sms server. @@ -36,6 +15,7 @@ static char *rcsid_sms_auth_c = "$Header$"; #endif lint +#include #include "sms_private.h" #include diff --git a/lib/mr_call.c b/lib/mr_call.c index 4de89602..b1e35c50 100644 --- a/lib/mr_call.c +++ b/lib/mr_call.c @@ -4,17 +4,15 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.5 1987-06-16 17:47:50 wesommer - * Clean up memory allocation, indenting. - * + * For copying and distribution information, please see the file + * . */ #ifndef lint static char *rcsid_sms_call_c = "$Header$"; #endif lint +#include #include "sms_private.h" sms_do_call(params, reply) diff --git a/lib/mr_connect.c b/lib/mr_connect.c index f701aac9..ab9fef64 100644 --- a/lib/mr_connect.c +++ b/lib/mr_connect.c @@ -4,15 +4,18 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * * This routine is part of the client library. It handles - * creating a connection to the sms server. + * creating a connection to the sms server. */ #ifndef lint static char *rcsid_sms_connect_c = "$Header$"; #endif lint +#include #include "sms_private.h" /* diff --git a/lib/mr_data.c b/lib/mr_data.c index 5c22f258..55ce0b5d 100644 --- a/lib/mr_data.c +++ b/lib/mr_data.c @@ -4,23 +4,16 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * - * $Log$ - * Revision 1.4 1988-06-01 15:23:23 mar - * Made the default version number 2 - * - * Revision 1.3 88/04/19 12:42:10 mar - * added version number variable - * - * Revision 1.2 87/06/01 03:31:36 wesommer - * Added RCS headers. - * */ #ifndef lint static char *rcsid_sms_data_c = "$Header$"; #endif lint +#include #include "sms_private.h" CONNECTION _sms_conn; diff --git a/lib/mr_init.c b/lib/mr_init.c index a15a1da2..5f507a4f 100644 --- a/lib/mr_init.c +++ b/lib/mr_init.c @@ -4,17 +4,15 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.1 1987-05-31 22:06:40 wesommer - * Initial revision - * + * For copying and distribution information, please see the file + * . */ #ifndef lint static char *rcsid_sms_init_c = "$Header$"; #endif lint +#include #include "sms_private.h" int sms_inited = 0; diff --git a/lib/mr_ops.c b/lib/mr_ops.c index eed894e3..3c82f5a1 100644 --- a/lib/mr_ops.c +++ b/lib/mr_ops.c @@ -4,15 +4,18 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * * This routine is part of the client library. It handles - * creating a connection to the sms server. + * creating a connection to the sms server. */ #ifndef lint static char *rcsid_sms_do_update_c = "$Header$"; #endif lint +#include #include "sms_private.h" int sms_do_update() diff --git a/lib/mr_param.c b/lib/mr_param.c index 811fc32d..b267382f 100644 --- a/lib/mr_param.c +++ b/lib/mr_param.c @@ -4,32 +4,16 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * - * $Log$ - * Revision 1.3 1988-04-19 12:45:20 mar - * new version number passing and checking - * - * Revision 1.2 87/08/02 21:49:15 wesommer - * Clean up error handling, memory handling. - * - * Revision 1.1 87/06/16 17:48:21 wesommer - * Initial revision - * - * Revision 1.4 87/06/04 01:32:18 wesommer - * Renamed gdb calls. - * - * Revision 1.3 87/06/01 03:33:54 wesommer - * Added destroy_reply. - * - * Revision 1.2 87/05/31 22:03:37 wesommer - * Fixed numerous bugs; still shaky. - * */ #ifndef lint static char *rcsid_sms_param_c = "$Header$"; #endif lint +#include #include #include #include "sms_private.h" diff --git a/lib/mr_query.c b/lib/mr_query.c index fa0e1b09..4f1a0f00 100644 --- a/lib/mr_query.c +++ b/lib/mr_query.c @@ -4,22 +4,8 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.5 1988-04-19 12:38:41 mar - * pass version number on queries - * - * Revision 1.4 87/08/22 17:11:16 wesommer - * Increment the nesting level only after we know we're connected. - * - * Revision 1.3 87/08/02 21:49:53 wesommer - * Prevent recursive query call. - * - * Revision 1.2 87/06/16 17:48:58 wesommer - * Clean up memory allocation, indenting. - * - * Revision 1.1 87/06/04 01:29:32 wesommer - * Initial revision + * For copying and distribution information, please see the file + * . * */ @@ -27,6 +13,7 @@ static char *rcsid_sms_query_c = "$Header$"; #endif lint +#include #include "sms_private.h" /* diff --git a/lib/nfsparttype.c b/lib/nfsparttype.c index bebec4ce..0eb63976 100644 --- a/lib/nfsparttype.c +++ b/lib/nfsparttype.c @@ -4,10 +4,8 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology - * - * $Log$ - * Revision 1.1 1987-09-03 03:13:40 wesommer - * Initial revision + * For copying and distribution information, please see the file + * . * */ @@ -15,6 +13,7 @@ static char *rcsid_nfsparttype_c = "$Header$"; #endif lint +#include #include #include #include diff --git a/lib/sq.c b/lib/sq.c index fd2d163d..e9580cda 100644 --- a/lib/sq.c +++ b/lib/sq.c @@ -1,8 +1,13 @@ /* $Header$ * * Generic Queue Routines + * + * (c) Copyright 1988 by the Massachusetts Institute of Technology. + * For copying and distribution information, please see the file + * . */ +#include #include "sms_app.h" struct save_queue * diff --git a/lib/strs.c b/lib/strs.c index 5af89ce7..692dd100 100644 --- a/lib/strs.c +++ b/lib/strs.c @@ -4,6 +4,8 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * * Miscellaneous string functions. */ @@ -12,6 +14,7 @@ static char *rcsid_strs_c = "$Header$"; #endif lint +#include #include #include #include diff --git a/reg_svr/admin_call.c b/reg_svr/admin_call.c index d0650e86..c543e8b6 100644 --- a/reg_svr/admin_call.c +++ b/reg_svr/admin_call.c @@ -4,6 +4,8 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * * Utility functions for communication with the Kerberos admin_server * @@ -16,6 +18,7 @@ static char *rcsid_admin_call_c = "$Header$"; #endif lint +#include #include #include #include -- 2.45.2