masqmail
diff src/base64/base64.c @ 366:41958685480d
Switched to `type *name' style
Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced
me that it is best to go with the way C had been designed.
The ``declaration reflects use'' concept conflicts with a
``type* name'' notation. Hence I switched.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 22 Sep 2011 15:07:40 +0200 |
parents | c74adb7c4f50 |
children | b27f66555ba8 |
line diff
1.1 --- a/src/base64/base64.c Wed Sep 14 12:20:40 2011 +0200 1.2 +++ b/src/base64/base64.c Thu Sep 22 15:07:40 2011 +0200 1.3 @@ -22,7 +22,7 @@ 1.4 #include "base64.h" 1.5 1.6 gchar* 1.7 -base64_encode(guchar * buf, gint len) 1.8 +base64_encode(guchar *buf, gint len) 1.9 { 1.10 guchar *outbuf, *q; 1.11 gchar enc[64]; 1.12 @@ -74,7 +74,7 @@ 1.13 return outbuf; 1.14 } 1.15 1.16 -gchar *base64_decode(gchar * buf, gint * size) 1.17 +gchar *base64_decode(gchar *buf, gint *size) 1.18 { 1.19 guchar *p = buf, *q; 1.20 guint in[4];