summaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c
diff options
context:
space:
mode:
authorRob Landley2006-03-06 20:47:33 +0000
committerRob Landley2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /libbb/find_pid_by_name.c
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip
busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'libbb/find_pid_by_name.c')
-rw-r--r--libbb/find_pid_by_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c
index 24084a3..833c96f 100644
--- a/libbb/find_pid_by_name.c
+++ b/libbb/find_pid_by_name.c
@@ -23,7 +23,7 @@
* Returns a list of all matching PIDs
* It is the caller's duty to free the returned pidlist.
*/
-extern long* find_pid_by_name( const char* pidName)
+long* find_pid_by_name( const char* pidName)
{
long* pidList;
int i=0;
@@ -42,7 +42,7 @@ extern long* find_pid_by_name( const char* pidName)
return pidList;
}
-extern long *pidlist_reverse(long *pidList)
+long *pidlist_reverse(long *pidList)
{
int i=0;
while (pidList[i] > 0 && ++i);