pthread/mutex: fix a compilation error
authorEunBong Song <eunb.song@samsung.com>
Thu, 13 Apr 2017 06:30:36 +0000 (15:30 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:20 +0000 (12:02 +0900)
commitfb22fcc0f492ce5f46e3f4e48605391f24da7913
tree6048ae39eec6cd6e24b7f5b86f02f7f3c8625a9d
parent2ba50ba58cae1bad3cc8622ea6d9402a0748582d
pthread/mutex: fix a compilation error

This patch fixes a compilation error below:

CC: pthread/pthread_mutexlock.c
    pthread/pthread_mutexlock.c:254:2: error: expected identifier or '(' before 'return'
      return ret;
      ^
    pthread/pthread_mutexlock.c:255:1: error: expected identifier or '(' before '}' token
     }
     ^
    /home/ebsong/tizenrt/os/include/pthread.h: In function 'pthread_mutex_lock':
    pthread/pthread_mutexlock.c:251:2: error: control reaches end of non-void function [-Werror=return-type]
      }
      ^
    cc1: all warnings being treated as errors

Change-Id: I183a97f0cad5a865ec474a73fc525a68766c827b
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/kernel/pthread/pthread_mutexlock.c