summaryrefslogtreecommitdiff
path: root/src/set.h
diff options
context:
space:
mode:
authorPenny Chiu <pchiu@nvidia.com>2014-04-11 17:50:39 +0800
committerStephen Warren <swarren@nvidia.com>2014-04-15 12:02:06 -0600
commitb81d219677b624ce4b554ab99c369e5ffeee5299 (patch)
treef7421d5ec91667a963279cca3f7e82ee41269fa9 /src/set.h
parentee24d10641faa87124094621ba2d5583123c47a9 (diff)
downloadnvidia-cbootimage-b81d219677b624ce4b554ab99c369e5ffeee5299.tar.gz
Accept void pointer as input data type for get/set_value functions
This change uses void * as input data type for cbootimage_soc_config.get/set_value and context_set_value functions. This makes the functions can accept various data types based on different tokens. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/set.h')
-rw-r--r--src/set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set.h b/src/set.h
index 1515fcd..754ed7a 100644
--- a/src/set.h
+++ b/src/set.h
@@ -38,7 +38,7 @@ set_bootloader(build_image_context *context,
int
context_set_value(build_image_context *context,
parse_token token,
- u_int32_t value);
+ void *value);
int
read_from_image(char *filename,