freebsd-dev/contrib/ntp/libparse/mkinfo_scmd.sed
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

16 lines
342 B
Sed

1i\
/*\
\ * Automatically generated - do not modify\
\ */\
\
#include <config.h>\
#include "ntp_types.h"\
#include "ntpd.h"\
#include "trimble.h"\
\
cmd_info_t trimble_scmds[] = {
s!^#define[ ][ ]*\(CMD_C[^ ]*\)[ ][ ]*\([^ ]*\)[ ][ ]*/\*[ ][ ]*\(.*\)[ ][ ]*\*/! { \1, "\1", "\3 (\2)", "", 0 },!p
$a\
\ { 0xFF, "", "", "", 0 }\
};