diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-07-03 22:46:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-07-03 22:46:19 +0200 |
commit | 659d98ee3391f09108de188eb58ea76f74e60f7f (patch) | |
tree | 5065ccfd3c7dc7566a8dc810715165a87ce2beb6 /atasmart.c | |
parent | 0e07e7f1be6cee31243fa21fc2b3f0c018c58aff (diff) |
add a simple string pool generator
Diffstat (limited to 'atasmart.c')
-rw-r--r-- | atasmart.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -698,6 +698,12 @@ typedef struct SkSmartAttributeInfo { SkSmartAttributeUnit unit; } SkSmartAttributeInfo; +#ifndef STRINGPOOL +#define P(x) x +#endif + +/* %STRINGPOOLSTART% */ + /* This data is stolen from smartmontools */ static const SkSmartAttributeInfo const attribute_info[255] = { [1] = { "raw-read-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE }, @@ -749,6 +755,8 @@ static const SkSmartAttributeInfo const attribute_info[255] = { [250] = { "read-error-retry-rate", SK_SMART_ATTRIBUTE_UNIT_NONE } }; +/* %STRINGPOOLSTOP% */ + static void make_pretty(SkSmartAttributeParsedData *a) { uint64_t fourtyeight; |