ports/mail/faces/files/patch-compface_uncompface.c
Brooks Davis 4680b0d8d0 mail/faces: [NFC] regen patches at unified diffs
PR:		281783
Approved by:	portmgr (build fix blanket), mikael
2024-10-01 21:11:45 +01:00

27 lines
539 B
C

--- compface/uncompface.c.orig
+++ compface/uncompface.c
@@ -14,16 +14,19 @@
* to me, then an attempt will be made to fix them.
*/
+#define MAIN
+
#include "compface.h"
-#include "vars.h"
int
-uncompface(char *fbuf)
+uncompface(fbuf)
+char *fbuf;
{
- if (!(status = setjmp(comp_env))) {
- UnCompAll(fbuf); /* compress otherwise */
+ if (!(status = setjmp(comp_env)))
+ {
+ UnCompAll(fbuf);/* compress otherwise */
UnGenFace();
WriteFace(fbuf);
}
- return(status);
+ return status;
}