Mercurial > 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 wrap: on
line diff
--- a/src/base64/base64.c Wed Sep 14 12:20:40 2011 +0200 +++ b/src/base64/base64.c Thu Sep 22 15:07:40 2011 +0200 @@ -22,7 +22,7 @@ #include "base64.h" gchar* -base64_encode(guchar * buf, gint len) +base64_encode(guchar *buf, gint len) { guchar *outbuf, *q; gchar enc[64]; @@ -74,7 +74,7 @@ return outbuf; } -gchar *base64_decode(gchar * buf, gint * size) +gchar *base64_decode(gchar *buf, gint *size) { guchar *p = buf, *q; guint in[4];