aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/_system_properties.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-08-17 18:30:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-17 18:30:57 +0000
commitcf3b0c183d9a6910db6384e6f8095c414041ea0c (patch)
treec9e7e5cb048e24dd067adf8ddd4173562ce1bd68 /libc/include/sys/_system_properties.h
parent84669837f788d1236124cb2a5b77eb2c47041e82 (diff)
parent9af9120091ceb96641d7c6c645fabad96db4bc0d (diff)
downloadandroid_bionic-cf3b0c183d9a6910db6384e6f8095c414041ea0c.tar.gz
android_bionic-cf3b0c183d9a6910db6384e6f8095c414041ea0c.tar.bz2
android_bionic-cf3b0c183d9a6910db6384e6f8095c414041ea0c.zip
Merge "Revert "Name function arguments in libc headers for Studio.""
Diffstat (limited to 'libc/include/sys/_system_properties.h')
-rw-r--r--libc/include/sys/_system_properties.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h
index 67beb9abe..f8dbd3305 100644
--- a/libc/include/sys/_system_properties.h
+++ b/libc/include/sys/_system_properties.h
@@ -61,14 +61,14 @@ __BEGIN_DECLS
** Map the property area from the specified filename. This
** method is for testing only.
*/
-int __system_property_set_filename(const char* __filename);
+int __system_property_set_filename(const char *filename);
/*
** Initialize the area to be used to store properties. Can
** only be done by a single process that has write access to
** the property area.
*/
-int __system_property_area_init(void);
+int __system_property_area_init();
/* Read the global serial number of the system properties
**
@@ -92,7 +92,7 @@ int __system_property_area_init(void);
**
** Returns the serial number on success, -1 on error.
*/
-uint32_t __system_property_area_serial(void);
+uint32_t __system_property_area_serial();
/* Add a new system property. Can only be done by a single
** process that has write access to the property area, and
@@ -102,7 +102,7 @@ uint32_t __system_property_area_serial(void);
**
** Returns 0 on success, -1 if the property area is full.
*/
-int __system_property_add(const char* __name, unsigned int __name_length, const char* __value, unsigned int __value_length);
+int __system_property_add(const char *name, unsigned int namelen, const char *value, unsigned int valuelen);
/* Update the value of a system property returned by
** __system_property_find. Can only be done by a single process
@@ -112,14 +112,14 @@ int __system_property_add(const char* __name, unsigned int __name_length, const
**
** Returns 0 on success, -1 if the parameters are incorrect.
*/
-int __system_property_update(prop_info* __pi, const char* __value, unsigned int __value_length);
+int __system_property_update(prop_info *pi, const char *value, unsigned int len);
/* Read the serial number of a system property returned by
** __system_property_find.
**
** Returns the serial number on success, -1 on error.
*/
-uint32_t __system_property_serial(const prop_info* __pi);
+uint32_t __system_property_serial(const prop_info* pi);
/* Initialize the system properties area in read only mode.
* Should be done by all processes that need to read system
@@ -127,10 +127,10 @@ uint32_t __system_property_serial(const prop_info* __pi);
*
* Returns 0 on success, -1 otherwise.
*/
-int __system_properties_init(void);
+int __system_properties_init();
/* Deprecated: use __system_property_wait instead. */
-uint32_t __system_property_wait_any(uint32_t __old_serial);
+uint32_t __system_property_wait_any(uint32_t old_serial);
__END_DECLS