summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/ul.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c
index dbcc32148..ab0a6e77c 100644
--- a/text-utils/ul.c
+++ b/text-utils/ul.c
@@ -78,7 +78,6 @@ void outc(wint_t c, int width);
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'
@@ -169,7 +168,6 @@ int main(int argc, char **argv)
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);
@@ -607,8 +605,3 @@ static void sig_handler(int signo)
_exit(EXIT_SUCCESS);
}
-static void exitbuf(void)
-{
- free(obuf);
- obuf = NULL;
-}