mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
budb: Correct arguments to pthread_create()
In order to eliminate warnings: "./../budb/dbs_dump.c", line 164: warning: argument #3 is incompatible with prototype: "./../budb/dbs_dump.c", line 186: warning: argument #3 is incompatible with prototype: remove the superfluous casts from the third argument. Change-Id: I841a41a0c1ccffe25861f79b3b7a9671b509d5d6 Reviewed-on: https://gerrit.openafs.org/16060 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Ben Huntsman <ben@huntsmans.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
This commit is contained in:
parent
c856bd9c87
commit
ff0079350e
@ -163,7 +163,7 @@ DumpDB(struct rx_call *call,
|
|||||||
PTHREAD_CREATE_DETACHED) == 0);
|
PTHREAD_CREATE_DETACHED) == 0);
|
||||||
opr_Verify(pthread_create(&dumperPid,
|
opr_Verify(pthread_create(&dumperPid,
|
||||||
&dumperPid_tattr,
|
&dumperPid_tattr,
|
||||||
(void *)setupDbDump, NULL) == 0);
|
setupDbDump, NULL) == 0);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
code =
|
code =
|
||||||
@ -185,7 +185,7 @@ DumpDB(struct rx_call *call,
|
|||||||
PTHREAD_CREATE_DETACHED) == 0);
|
PTHREAD_CREATE_DETACHED) == 0);
|
||||||
opr_Verify(pthread_create(&watcherPid,
|
opr_Verify(pthread_create(&watcherPid,
|
||||||
&watcherPid_tattr,
|
&watcherPid_tattr,
|
||||||
(void *)dumpWatcher, NULL) == 0);
|
dumpWatcher, NULL) == 0);
|
||||||
#else
|
#else
|
||||||
/* now create the watcher thread */
|
/* now create the watcher thread */
|
||||||
code =
|
code =
|
||||||
|
Loading…
Reference in New Issue
Block a user