From cdd3b339fcf4ef2620a7d02b2a5694277acc8f81 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 27 Mar 2014 14:38:48 -0500 Subject: Add basic error checking to legacy property init Let init and rename funcitons return success or failure values. Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d --- legacy_properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'legacy_properties.h') diff --git a/legacy_properties.h b/legacy_properties.h index 9eb6bc751..44cdd958d 100644 --- a/legacy_properties.h +++ b/legacy_properties.h @@ -63,7 +63,7 @@ struct prop_info { char value[PROP_VALUE_MAX]; }; -struct prop_msg +struct prop_msg { unsigned cmd; char name[PROP_NAME_MAX]; @@ -71,7 +71,7 @@ struct prop_msg }; #define PROP_MSG_SETPROP 1 - + /* ** Rules: ** -- cgit v1.2.3