From 45d921a6b0f4626805a3a4870834874be051f6b0 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Thu, 8 Jul 2010 11:05:31 -0700 Subject: Removed boot-properties.h dependency from help.c File help.c belongs to the UI, while boot-properties belong to the Core Change-Id: I526bc187740c58f89375025ca21927f5224acf19 --- android/help.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'android/help.h') diff --git a/android/help.h b/android/help.h index 94feca1..ee15941 100644 --- a/android/help.h +++ b/android/help.h @@ -14,6 +14,14 @@ #include "android/utils/stralloc.h" +/* these values give the maximum length of system property + * names and values. They must match the definitions for PROPERTY_MAX_NAME and + * PROPERTY_MAX_VALUE in the Android source tree + * (in system/core/include/cutils/properties.h) + */ +#define BOOT_PROPERTY_MAX_NAME 32 +#define BOOT_PROPERTY_MAX_VALUE 92 + /* appends the list of options with a small description to a dynamic string */ extern void android_help_list_options( stralloc_t* out ); -- cgit v1.1