File afio-toc_ppc.dif of Package afio

--- afio.c
+++ afio.c	2004/01/29 15:28:00
@@ -372,7 +372,7 @@
 	case 't':
 	  if (fn)
 	    usage ();
-	  fn = toc;
+	  fn = table_of_contents;
 	  break;
 	case 'I':
 	  if (fn)
@@ -751,7 +751,7 @@
   timedone = time ((time_t *) NULL);
   if (uflag)
     linkleft ();
-  if (vflag || (fn == toc))
+  if (vflag || (fn == table_of_contents))
     fflush(stdout);
 
   if(cpiowarned)
@@ -777,7 +777,7 @@
     {
       reg FILE *stream;
 
-      stream = fn == toc || fn == copyin || arfd == STDOUT ? stderr : stdout;
+      stream = fn == table_of_contents || fn == copyin || arfd == STDOUT ? stderr : stdout;
       VOID fprintf (stream, "%s: ", myname);
       prsize (stream, total);
       VOID fprintf (stream, " bytes %s in %lu seconds. %s\n",
@@ -4363,12 +4363,12 @@
 }
 
 /*
- * toc()
+ * table_of_contents()
  *
  * Print archive table of contents.
  */
 STATIC VOIDFN
-toc (av)
+table_of_contents (av)
      reg char **av;
 {
   auto Stat sb;
--- afio.h
+++ afio.h	2004/01/29 15:28:00
@@ -482,7 +482,7 @@
 #endif
      int fswrite (int, char*, uint);
      char *syserr (void);
-     VOIDFN toc (char **);
+     VOIDFN table_of_contents (char **);
      void tocentry (char *, Stat *);
      void tocmode (mode_t);
      void usage (void);
openSUSE Build Service is sponsored by