summaryrefslogtreecommitdiffstats
path: root/src/util/strndup.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-12-28 12:59:33 -0800
committerEric Anholt <[email protected]>2018-01-03 14:25:23 -0800
commitd3e8a4b96c80955e832981534b1f4c3856b6fdb4 (patch)
treeee5621390ae0403b4d3d195d429f1c20b37bb79c /src/util/strndup.h
parent48cabc1e751bf537f4fdb2721d7a7492c8e401a1 (diff)
broadcom/xml: Fix up safe name confusion with prefixing.
For enums we were doubling the underscore if the value had a numeric first character of its name (which safe_name() adds an underscore to). A little helper function cleans up the other instance of prefixing while also fixing this.
Diffstat (limited to 'src/util/strndup.h')
0 files changed, 0 insertions, 0 deletions