summaryrefslogtreecommitdiffstats
path: root/bin/csh/err.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-08-07 21:42:17 +0000
committersteve <steve@FreeBSD.org>1997-08-07 21:42:17 +0000
commit8eb2ceeba6184065f9f56a6be00921df473d24f7 (patch)
tree14d11b65657d85fe0539351a66120ba544c4dda8 /bin/csh/err.c
parent717042838c948b136f885ba4c16e32cd1787b598 (diff)
downloadFreeBSD-src-8eb2ceeba6184065f9f56a6be00921df473d24f7.zip
FreeBSD-src-8eb2ceeba6184065f9f56a6be00921df473d24f7.tar.gz
Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
register keyword, and -Wall cleaning. Obtained from: similar changes in NetBSD
Diffstat (limited to 'bin/csh/err.c')
-rw-r--r--bin/csh/err.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/csh/err.c b/bin/csh/err.c
index 77ae9e0..d878847 100644
--- a/bin/csh/err.c
+++ b/bin/csh/err.c
@@ -29,12 +29,15 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id$
*/
#ifndef lint
+#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93";
+#else
+static const char rcsid[] =
+ "$Id: err.c,v 1.4 1997/02/22 14:01:48 peter Exp $";
+#endif
#endif /* not lint */
#include <sys/types.h>
@@ -342,7 +345,7 @@ stderror(id, va_alist)
#endif
{
va_list va;
- register Char **v;
+ Char **v;
int flags = id & ERR_FLAGS;
id &= ~ERR_FLAGS;
OpenPOWER on IntegriCloud