(print_sl): remove unused function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18600 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
21
lib/sl/sl.c
21
lib/sl/sl.c
@@ -39,26 +39,6 @@ RCSID("$Id$");
|
|||||||
#include "sl_locl.h"
|
#include "sl_locl.h"
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
static size_t
|
|
||||||
print_sl (FILE *stream, int mdoc, int longp, SL_cmd *c)
|
|
||||||
__attribute__ ((unused));
|
|
||||||
|
|
||||||
static size_t
|
|
||||||
print_sl (FILE *stream, int mdoc, int longp, SL_cmd *c)
|
|
||||||
{
|
|
||||||
if(mdoc){
|
|
||||||
if(longp)
|
|
||||||
fprintf(stream, "= Ns");
|
|
||||||
fprintf(stream, " Ar ");
|
|
||||||
}else
|
|
||||||
if (longp)
|
|
||||||
putc ('=', stream);
|
|
||||||
else
|
|
||||||
putc (' ', stream);
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mandoc_template(SL_cmd *cmds,
|
mandoc_template(SL_cmd *cmds,
|
||||||
const char *extra_string)
|
const char *extra_string)
|
||||||
@@ -94,7 +74,6 @@ mandoc_template(SL_cmd *cmds,
|
|||||||
/* if (c->func == NULL)
|
/* if (c->func == NULL)
|
||||||
continue; */
|
continue; */
|
||||||
printf(".Op Fl %s", c->name);
|
printf(".Op Fl %s", c->name);
|
||||||
/* print_sl(stdout, 1, 0, c);*/
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user