diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 15:45:20 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 15:45:20 -0200 |
commit | 6697e31fbb616656b7f34515a79454af394b500a (patch) | |
tree | 504d0d5c456226bec6ced89839d94964a728e321 /src/Info.c | |
parent | 41e4e2de4d73d098d332ece0410e9f8fda4fe10d (diff) |
Janitor: ansification, make distcheck, .gitignore
The ansification code is minor edit of the patch (by me) at
https://bugs.freedesktop.org/show_bug.cgi?id=14727
as it would not apply cleanly anymore.
Diffstat (limited to 'src/Info.c')
-rw-r--r-- | src/Info.c | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -41,8 +41,7 @@ * Init returned data to free safely later on */ void -xpmInitXpmInfo(info) - XpmInfo *info; +xpmInitXpmInfo(XpmInfo *info) { if (info) { info->hints_cmt = NULL; @@ -57,8 +56,7 @@ xpmInitXpmInfo(info) * Free the XpmInfo data which have been allocated */ void -XpmFreeXpmInfo(info) - XpmInfo *info; +XpmFreeXpmInfo(XpmInfo *info) { if (info) { if (info->valuemask & XpmComments) { @@ -88,9 +86,9 @@ XpmFreeXpmInfo(info) * Set the XpmInfo valuemask to retrieve required info */ void -xpmSetInfoMask(info, attributes) - XpmInfo *info; - XpmAttributes *attributes; +xpmSetInfoMask( + XpmInfo *info, + XpmAttributes *attributes) { info->valuemask = 0; if (attributes->valuemask & XpmReturnInfos) @@ -103,9 +101,9 @@ xpmSetInfoMask(info, attributes) * Fill in the XpmInfo with the XpmAttributes */ void -xpmSetInfo(info, attributes) - XpmInfo *info; - XpmAttributes *attributes; +xpmSetInfo( + XpmInfo *info, + XpmAttributes *attributes) { info->valuemask = 0; if (attributes->valuemask & XpmInfos) { |