Renamed findproc() to _pm_findproc() to reduce polluting of application
namespace.
This commit is contained in:
@@ -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
@@ -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
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user