Renamed findproc() to _pm_findproc() to reduce polluting of application

namespace.
This commit is contained in:
Ben Gras
2006-03-25 04:49:04 +00:00
parent d9544b38d3
commit 7b58dd7f9b
13 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ int main(int argc, char *argv[])
eth_ign_proto= htons((u16_t) v);
/* Try to notify inet that we are present (again) */
r = findproc("inet", &tasknr);
r = _pm_findproc("inet", &tasknr);
if (r == OK)
notify(tasknr);
+1 -1
View File
@@ -579,7 +579,7 @@ PUBLIC int main(int argc, char **argv)
#endif
/* Try to notify inet that we are present (again) */
rc = findproc("inet", &tasknr);
rc = _pm_findproc("inet", &tasknr);
if (rc == OK)
notify(tasknr);
+1 -1
View File
@@ -284,7 +284,7 @@ int main(int argc, char *argv[])
#endif
/* Try to notify inet that we are present (again) */
r = findproc("inet", &tasknr);
r = _pm_findproc("inet", &tasknr);
if (r == OK)
notify(tasknr);
+1 -1
View File
@@ -327,7 +327,7 @@ void main( int argc, char **argv )
eth_ign_proto= htons((u16_t) v);
/* Try to notify inet that we are present (again) */
r = findproc("inet", &tasknr);
r = _pm_findproc("inet", &tasknr);
if (r == OK)
notify(tasknr);
+1 -1
View File
@@ -303,7 +303,7 @@ int main(int argc, char *argv[])
* not yet alive.
*/
(progname=strrchr(argv[0],'/')) ? progname++ : (progname=argv[0]);
r = findproc("inet", &inet_proc_nr);
r = _pm_findproc("inet", &inet_proc_nr);
if (r == OK) notify(inet_proc_nr);