freebsd-skq/contrib/ntp/libparse/mkinfo_scmd.sed

17 lines
314 B
Sed
Raw Normal View History

1999-12-09 13:01:21 +00:00
1i\
/*\
* Automatically generated - do not modify\
*/\
\
#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, "", "" }\
};\