freebsd-dev/contrib/ntp/libparse/mkinfo_scmd.sed
1999-12-09 13:01:21 +00:00

17 lines
314 B
Sed

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, "", "" }\
};\