Remove whitespace that occurs after '('.
- Replace '([ \t]*' with '('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -415,8 +415,8 @@ static pthread_mutex_t mutex;
|
||||
int httpd_start(void)
|
||||
{
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_init( &attr );
|
||||
pthread_mutex_init( &mutex, &attr );
|
||||
pthread_mutexattr_init(&attr );
|
||||
pthread_mutex_init(&mutex, &attr );
|
||||
|
||||
int port = 8888;
|
||||
LOG_USER("Launching httpd server on port %d", port);
|
||||
@@ -446,16 +446,16 @@ int httpd_start(void)
|
||||
void httpd_stop(void)
|
||||
{
|
||||
MHD_stop_daemon(d);
|
||||
pthread_mutex_destroy( &mutex );
|
||||
pthread_mutex_destroy(&mutex );
|
||||
}
|
||||
|
||||
void openocd_sleep_prelude(void)
|
||||
{
|
||||
pthread_mutex_unlock( &mutex );
|
||||
pthread_mutex_unlock(&mutex );
|
||||
}
|
||||
|
||||
void openocd_sleep_postlude(void)
|
||||
{
|
||||
pthread_mutex_lock( &mutex );
|
||||
pthread_mutex_lock(&mutex );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user