summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/lib.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-11 08:37:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-11 08:37:06 -0600
commit43108346e9ef40deb13ff1c5a817aa4764ab5891 (patch)
tree9ddedf421bc60d930855086a0fb778fe28b3593b /nuttx/include/nuttx/lib.h
parente9f48fdfcc231cd930b84b5278ff91e3e1954678 (diff)
downloadnuttx-43108346e9ef40deb13ff1c5a817aa4764ab5891.tar.gz
nuttx-43108346e9ef40deb13ff1c5a817aa4764ab5891.tar.bz2
nuttx-43108346e9ef40deb13ff1c5a817aa4764ab5891.zip
Rename some functions and reshuffling some paramters
Diffstat (limited to 'nuttx/include/nuttx/lib.h')
-rw-r--r--nuttx/include/nuttx/lib.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/lib.h b/nuttx/include/nuttx/lib.h
index 3bc581e18..5b151ed9e 100644
--- a/nuttx/include/nuttx/lib.h
+++ b/nuttx/include/nuttx/lib.h
@@ -2,7 +2,7 @@
* include/nuttx/lib.h
* Non-standard, internal APIs available in lib/.
*
- * Copyright (C) 2007-2009, 2012-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2012-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -56,7 +56,8 @@
#ifdef __cplusplus
#define EXTERN extern "C"
-extern "C" {
+extern "C"
+{
#else
#define EXTERN extern
#endif
@@ -68,9 +69,11 @@ extern "C" {
/* Functions contained in lib_init.c ****************************************/
void weak_function lib_initialize(void);
+
#if CONFIG_NFILE_STREAMS > 0
-void lib_streaminit(FAR struct streamlist *list);
-void lib_releaselist(FAR struct streamlist *list);
+struct task_group_s;
+void lib_stream_initialize(FAR struct task_group_s *group);
+void lib_stream_release(FAR struct task_group_s *group);
#endif
#undef EXTERN