ossp-pkg/rc/rc_config.c 1.20 -> 1.21
--- rc_config.c 2002/07/01 15:03:33 1.20
+++ rc_config.c 2002/07/05 13:27:22 1.21
@@ -38,6 +38,27 @@
/***************************************
+* configNew(void) *
+* Construct a configuration *
+***************************************/
+rc_return_t configNew(void)
+{
+ ex_t Except;
+
+ if (m_nLocks == 0) { /* If we don't have one yet */
+ try { /* then construct a new one */
+ clioptNew(); /* Member cliopt instance */
+ }
+ catch(Except) {
+ rethrow;
+ }
+ }
+ m_nLocks++; /* FIXME not threadsafe */
+
+ return(RC_THROW(RC_OK));
+}
+
+/***************************************
* configInfo(void) *
* Print the configuration information *
***************************************/
@@ -73,27 +94,6 @@
return(RC_THROW(RC_OK));
}
-
-/***************************************
-* configNew(void) *
-* Construct a configuration *
-***************************************/
-rc_return_t configNew(void)
-{
- ex_t Except;
-
- if (m_nLocks == 0) { /* If we don't have one yet */
- try { /* then construct a new one */
- clioptNew(); /* Member cliopt instance */
- }
- catch(Except) {
- rethrow;
- }
- }
- m_nLocks++; /* FIXME not threadsafe */
-
- return(RC_THROW(RC_OK));
-}
/***************************************
* configGetXXX(rc_opt_t) *
|
|