[hackers] [sbase] Rename variable Rune * p -> r in fgetrune() || FRIGN

From: <git_AT_suckless.org>
Date: Wed, 11 Feb 2015 23:09:14 +0100 (CET)

commit 34553253c26d6cbd05d8600c11baa18f54023e98
Author: FRIGN <dev_AT_frign.de>
Date: Wed Feb 11 21:14:28 2015 +0100

    Rename variable Rune * p -> r in fgetrune()

diff --git a/libutf/fgetrune.c b/libutf/fgetrune.c
index d8ca712..50fd355 100644
--- a/libutf/fgetrune.c
+++ b/libutf/fgetrune.c
_AT_@ -7,13 +7,13 @@
 #include "../utf.h"
 
 int
-fgetrune(Rune *p, FILE *fp)
+fgetrune(Rune *r, FILE *fp)
 {
         char buf[UTFmax];
         int i;
 
         for (i = 0; i < UTFmax && (buf[i] = fgetc(fp)) != EOF && ++i ;)
- if (charntorune(p, buf, i) > 0)
+ if (charntorune(r, buf, i) > 0)
                         break;
         if (ferror(fp))
                 return -1;
_AT_@ -22,11 +22,11 @@ fgetrune(Rune *p, FILE *fp)
 }
 
 int
-efgetrune(Rune *p, FILE *fp, const char *file)
+efgetrune(Rune *r, FILE *fp, const char *file)
 {
         int ret;
 
- if ((ret = fgetrune(p, fp)) < 0) {
+ if ((ret = fgetrune(r, fp)) < 0) {
                 fprintf(stderr, "fgetrune %s: %s\n", file, strerror(errno));
                 exit(1);
         }
Received on Wed Feb 11 2015 - 23:09:14 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 11 2015 - 23:12:10 CET