Last change
on this file since 63435 was 62835, checked in by vboxsync, 9 years ago |
ExtPacks/dtrace: warnings
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
618 bytes
|
Line | |
---|
1 | #$Id: mknames.sed 62835 2016-08-01 16:41:36Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # pure sed version of mknames.sh.
|
---|
4 | #
|
---|
5 |
|
---|
6 | 1b heading
|
---|
7 | $b footer
|
---|
8 | /DIF_SUBR_MAX/b end
|
---|
9 | s/^#[[:space:]]*define[[:space:]][[:space:]]*\(DIF_SUBR_[a-zA-Z0-9_]*\).*$/ case \1: \
|
---|
10 | return "\L\1";/p
|
---|
11 | b end
|
---|
12 |
|
---|
13 | :heading
|
---|
14 | i\/* Autogenerated source file - DO NOT EDIT! */
|
---|
15 | i\/*
|
---|
16 | i\ * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
|
---|
17 | i\ * Use is subject to license terms.
|
---|
18 | i\ */
|
---|
19 | i\#include <dtrace.h>
|
---|
20 | i\const char *dtrace_subrstr(dtrace_hdl_t *dtp, int subr)
|
---|
21 | i\{
|
---|
22 | i\ (void)dtp;
|
---|
23 | i\ switch (subr)
|
---|
24 | i\ {
|
---|
25 | b end
|
---|
26 |
|
---|
27 | :footer
|
---|
28 | i\ default:
|
---|
29 | i\ return "unknown";
|
---|
30 | i\ }
|
---|
31 | i\}
|
---|
32 | b end
|
---|
33 |
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 | :end
|
---|
38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.