stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r428175 - in /incubator/stdcxx/trunk/util: cmdopt.h exec.cpp exec.h
Date Wed, 02 Aug 2006 22:21:54 GMT
Author: sebor
Date: Wed Aug  2 15:21:52 2006
New Revision: 428175

URL: http://svn.apache.org/viewvc?rev=428175&view=rev
Log:
2006-08-02  Martin Sebor  <sebor@roguewave.com>

	* cmdopt.h (eval_options, split_opt_string): Removed spurious const.
	* exec.cpp: Inserted a missing newline to reduce line length to less
	than 80 characters.
	* exec.h (get_signo): Removed a redundant const qualifier from the
	function's return type.

Modified:
    incubator/stdcxx/trunk/util/cmdopt.h
    incubator/stdcxx/trunk/util/exec.cpp
    incubator/stdcxx/trunk/util/exec.h

Modified: incubator/stdcxx/trunk/util/cmdopt.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/cmdopt.h?rev=428175&r1=428174&r2=428175&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/cmdopt.h (original)
+++ incubator/stdcxx/trunk/util/cmdopt.h Wed Aug  2 15:21:52 2006
@@ -29,7 +29,7 @@
 
 extern int timeout;
 extern int compat;
-extern unsigned verbose; /**< Verbose output mode switch.  Defaults to 0 (off) */
+extern unsigned verbose; /**< Verbose output mode switch.  Defaults to 0 */
 extern const char* exe_opts;
 extern const char* in_root;
 extern const char* exe_name;
@@ -39,9 +39,9 @@
 show_usage(const int status);
 
 int 
-eval_options (const int argc, char* const argv[]);
+eval_options (int argc, char* const argv[]);
 
 char**
-split_opt_string(const char* const opts);
+split_opt_string(const char* opts);
 
 #endif   // RW_PARSE_OPTS_H

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?rev=428175&r1=428174&r2=428175&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Wed Aug  2 15:21:52 2006
@@ -70,7 +70,8 @@
 /**
     Signal name/number translation table.
     
-    This table is populated using the SIGNAL helper macro to translate system SIG* macro
values into name/value pairs.
+    This table is populated using the SIGNAL helper macro to translate
+    system SIG* macro values into name/value pairs.
     
     @see SIGNAL ()
 */
@@ -295,7 +296,7 @@
    @returns the signal number or -1 if a number couldn't be determined
    @see signal_names []
 */
-const int
+int
 get_signo (const char* signame)
 {
     size_t i;

Modified: incubator/stdcxx/trunk/util/exec.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.h?rev=428175&r1=428174&r2=428175&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.h (original)
+++ incubator/stdcxx/trunk/util/exec.h Wed Aug  2 15:21:52 2006
@@ -32,10 +32,10 @@
     int killed;
 };
 
-const int get_signo (const char* signame);
+int get_signo (const char* signame);
 
 const char* get_signame (int signo);
 
 struct exec_attrs exec_file (char** argv);
 
-#endif   // RW_EXEC
+#endif   // RW_EXEC_H



Mime
View raw message