summaryrefslogtreecommitdiff
path: root/src/Info.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 15:45:20 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 15:45:20 -0200
commit6697e31fbb616656b7f34515a79454af394b500a (patch)
tree504d0d5c456226bec6ced89839d94964a728e321 /src/Info.c
parent41e4e2de4d73d098d332ece0410e9f8fda4fe10d (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.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/Info.c b/src/Info.c
index f35abd9..e975a6d 100644
--- a/src/Info.c
+++ b/src/Info.c
@@ -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) {