소스 검색

doc: Untabify `c-extensions.texi'.

* doc/c-extensions.texi: Untabify, so the examples are correctly
  typeset.
Ludovic Courtès 13 년 전
부모
커밋
7013024ad1
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      doc/c-extensions.texi

+ 5 - 5
doc/c-extensions.texi

@@ -97,25 +97,25 @@ Here is an example:
 
 @example
 static void matmul (const float *A, const float *B, float *C,
-		    size_t nx, size_t ny, size_t nz)
+                    size_t nx, size_t ny, size_t nz)
   __attribute__ ((task));
 
 static void matmul_cpu (const float *A, const float *B, float *C,
-			size_t nx, size_t ny, size_t nz)
+                        size_t nx, size_t ny, size_t nz)
   __attribute__ ((task_implementation ("cpu", matmul)));
 
 
 static void
 matmul_cpu (const float *A, const float *B, float *C,
-	    size_t nx, size_t ny, size_t nz)
+            size_t nx, size_t ny, size_t nz)
 @{
   size_t i, j, k;
 
   for (j = 0; j < ny; j++)
     for (i = 0; i < nx; i++)
       @{
-	for (k = 0; k < nz; k++)
-	  C[j * nx + i] += A[j * nz + k] * B[k * nx + i];
+        for (k = 0; k < nz; k++)
+          C[j * nx + i] += A[j * nz + k] * B[k * nx + i];
       @}
 @}
 @end example