diff options
Diffstat (limited to 'contrib/ntp/libparse/mkinfo_scmd.sed')
-rw-r--r-- | contrib/ntp/libparse/mkinfo_scmd.sed | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/ntp/libparse/mkinfo_scmd.sed b/contrib/ntp/libparse/mkinfo_scmd.sed new file mode 100644 index 0000000..cabe065 --- /dev/null +++ b/contrib/ntp/libparse/mkinfo_scmd.sed @@ -0,0 +1,16 @@ +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, "", "" }\ +};\ + + |