Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Nuke obsolete printf comment.



details:   https://anonhg.NetBSD.org/src/rev/c39d4931f148
branches:  trunk
changeset: 473943:c39d4931f148
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 22 22:09:49 1999 +0000

description:
Nuke obsolete printf comment.

diffstat:

 sys/lib/libsa/twiddle.c |  25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diffs (39 lines):

diff -r 3f5ad78cf561 -r c39d4931f148 sys/lib/libsa/twiddle.c
--- a/sys/lib/libsa/twiddle.c   Tue Jun 22 21:12:00 1999 +0000
+++ b/sys/lib/libsa/twiddle.c   Tue Jun 22 22:09:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: twiddle.c,v 1.3 1999/03/23 22:25:31 simonb Exp $       */
+/*     $NetBSD: twiddle.c,v 1.4 1999/06/22 22:09:49 christos Exp $     */
 
 /*-
  * Copyright (c) 1993
@@ -35,29 +35,6 @@
  *     @(#)printf.c    8.1 (Berkeley) 6/11/93
  */
 
-/*
- * Scaled down version of printf(3).
- *
- * One additional format:
- *
- * The format %b is supported to decode error registers.
- * Its usage is:
- *
- *     printf("reg=%b\n", regval, "<base><arg>*");
- *
- * where <base> is the output base expressed as a control character, e.g.
- * \10 gives octal; \20 gives hex.  Each arg is a sequence of characters,
- * the first of which gives the bit number to be inspected (origin 1), and
- * the next characters (up to a control character, i.e. a character <= 32),
- * give the name of the register.  Thus:
- *
- *     printf("reg=%b\n", 3, "\10\2BITTWO\1BITONE\n");
- *
- * would produce output:
- *
- *     reg=3<BITTWO,BITONE>
- */
-
 #include <sys/cdefs.h>
 #include <sys/types.h>
 



Home | Main Index | Thread Index | Old Index