-/* $Id: term_ascii.c,v 1.8 2010/06/30 12:30:36 kristaps Exp $ */
+/* $Id: term_ascii.c,v 1.12 2011/01/25 17:32:04 kristaps Exp $ */
/*
- * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <stdlib.h>
#include <unistd.h>
+#include "mandoc.h"
#include "out.h"
#include "term.h"
#include "main.h"
const char *toks[2];
char *v;
- if (NULL == (p = term_alloc(TERMENC_ASCII)))
- return(NULL);
+ p = term_alloc(TERMENC_ASCII);
p->tabwidth = 5;
p->defrmargin = 78;
ascii_letter(struct termp *p, char c)
{
+ /* LINTED */
putchar(c);
}