Signed-off-by: Karel Zak <kzak@redhat.com>
}
}
-static void
-deinit_signature_page(void) {
- free(signature_page);
-}
-
static void
write_signature(char *sig) {
char *sp = (char *) signature_page;
#endif
init_signature_page(); /* get pagesize */
- atexit(deinit_signature_page);
if (!device_name) {
fprintf(stderr,
void setmode(int newmode);
static void setcol(int newcol);
static void needcol(int col);
-static void exitbuf(void);
static void sig_handler(int signo);
#define IESC '\033'
if ( (tigetflag("os") && ENTER_BOLD==NULL ) ||
(tigetflag("ul") && ENTER_UNDERLINE==NULL && UNDER_CHAR==NULL))
must_overstrike = 1;
- atexit(exitbuf);
initbuf();
if (optind == argc)
filter(stdin);
_exit(EXIT_SUCCESS);
}
-static void exitbuf(void)
-{
- free(obuf);
- obuf = NULL;
-}