BSD 4_3_Tahoe release
[unix-history] / usr / src / ucb / gprof / printlist.c
index b80c2bf..aea4f1b 100644 (file)
@@ -1,12 +1,23 @@
 /*
  * Copyright (c) 1983 Regents of the University of California.
 /*
  * Copyright (c) 1983 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)printlist.c        5.1 (Berkeley) 6/4/85";
-#endif not lint
+static char sccsid[] = "@(#)printlist.c        5.4 (Berkeley) 6/29/88";
+#endif /* not lint */
 
 #include "gprof.h"
 
 
 #include "gprof.h"
 
@@ -16,6 +27,10 @@ static char sccsid[] = "@(#)printlist.c      5.1 (Berkeley) 6/4/85";
      * is a pointer to the list head
      * (for ease of passing to stringlist functions).
      */
      * is a pointer to the list head
      * (for ease of passing to stringlist functions).
      */
+struct stringlist      kfromhead = { 0 , 0 };
+struct stringlist      *kfromlist = &kfromhead;
+struct stringlist      ktohead = { 0 , 0 };
+struct stringlist      *ktolist = &ktohead;
 struct stringlist      fhead = { 0 , 0 };
 struct stringlist      *flist = &fhead;
 struct stringlist      Fhead = { 0 , 0 };
 struct stringlist      fhead = { 0 , 0 };
 struct stringlist      *flist = &fhead;
 struct stringlist      Fhead = { 0 , 0 };