aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/c2mdoc/files/c2mdoc2
-rw-r--r--devel/c2mdoc/files/c2mdoc.awk4
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/c2mdoc/files/c2mdoc b/devel/c2mdoc/files/c2mdoc
index 245e8687b05..e1b789998d0 100644
--- a/devel/c2mdoc/files/c2mdoc
+++ b/devel/c2mdoc/files/c2mdoc
@@ -3,6 +3,8 @@
# c2mdoc -- Front-end which abuses the cproto parser to spit out
# mdoc(7) format prototypes for use in FreeBSD documentation.
#
+# $FreeBSD$
+#
AWKSCRIPT="%%LIBEXECDIR%%/c2mdoc.awk"
CPROTO='-P"int\tf\t(\ta\t,\tb\t)" -pq -f3'
diff --git a/devel/c2mdoc/files/c2mdoc.awk b/devel/c2mdoc/files/c2mdoc.awk
index 5bf92fecbc1..ec7dfb9ab84 100644
--- a/devel/c2mdoc/files/c2mdoc.awk
+++ b/devel/c2mdoc/files/c2mdoc.awk
@@ -3,9 +3,11 @@
# c2mdoc.awk -- Takes tabulated output from cproto(1) and turns it into
# mdoc(7) markup.
#
+# $FreeBSD$
+#
BEGIN { FS="\t" }
{
- printf ".Fa %s\n", $1 ;
+ printf ".Ft %s\n", $1 ;
printf ".Fn %s", $2 ;
for (i = 4; i < NF; i++)
printf " \"%s\"", $i