projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When doing an if-test on the result of a function which returns a string
[mmh]
/
uip
/
mhfree.c
diff --git
a/uip/mhfree.c
b/uip/mhfree.c
index
418e5c9
..
df0ee46
100644
(file)
--- a/
uip/mhfree.c
+++ b/
uip/mhfree.c
@@
-25,7
+25,7
@@
void free_content (CT);
void free_header (CT);
void free_ctinfo (CT);
void free_encoding (CT, int);
void free_header (CT);
void free_ctinfo (CT);
void free_encoding (CT, int);
-int freects_done (int);
+void freects_done (int);
/*
* static prototypes
/*
* static prototypes
@@
-287,7
+287,7
@@
free_encoding (CT ct, int toplevel)
}
}
-int
+void
freects_done (int status)
{
CT *ctp;
freects_done (int status)
{
CT *ctp;
@@
-297,5
+297,4
@@
freects_done (int status)
free_content (*ctp);
exit (status);
free_content (*ctp);
exit (status);
- return 1; /* dead code to satisfy the compiler */
}
}