diff options
| author | Simon Glass <[email protected]> | 2025-05-02 08:46:32 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-30 09:49:32 +0100 |
| commit | 8636da86a2fb5f5f1a571f6cb3f12c0e8c207698 (patch) | |
| tree | 62a3cdcdff304ae9c294d199d85c16081cfafe72 /include | |
| parent | 8aa384d01a079ec2d816f7051a7208a337727338 (diff) | |
expo: Use an abuf to hold strings
It is more convenient to put strings in an abuf so they can easily be
resized. Adjust the struct accordingly.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/expo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/expo.h b/include/expo.h index 84dc77f771e..b6de0310071 100644 --- a/include/expo.h +++ b/include/expo.h @@ -134,12 +134,12 @@ struct expo { * struct expo_string - a string that can be used in an expo * * @id: ID number of the string - * @str: String + * @buf: String (contains nul terminator) * @sibling: Node to link this object to its siblings */ struct expo_string { uint id; - const char *str; + struct abuf buf; struct list_head sibling; }; |
