2005-07-13 Dan Williams <dcbw@redhat.com>

Patch from Ray Strode <halfline@gmail.com>
	* Random cleanups for strict CFLAGS


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@796 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2005-07-13 16:58:13 +00:00
parent 39c3b4f895
commit c2ac475604
9 changed files with 36 additions and 26 deletions

View File

@@ -79,7 +79,7 @@ static MutexDesc *nm_find_mutex_desc (GMutex *mutex)
* Associate a description with a particular mutex.
*
*/
void nm_register_mutex_desc (GMutex *mutex, char *string)
void nm_register_mutex_desc (GMutex *mutex, const char *string)
{
if (!(nm_find_mutex_desc (mutex)))
{
@@ -375,7 +375,7 @@ void nm_dispose_scan_results (wireless_scan *result_list)
* Wrap g_spawn_sync in a usable manner
*
*/
int nm_spawn_process (char *args)
int nm_spawn_process (const char *args)
{
gint num_args;
char **argv = NULL;