summaryrefslogtreecommitdiffstats
path: root/sys/sys/linker.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-06-20 20:41:15 +0000
committerjhb <jhb@FreeBSD.org>2006-06-20 20:41:15 +0000
commit4a92b906b84d292f02b270cdbd7fe4d678f8523e (patch)
tree973716e71934d0c029e30adaa48a7b6bd881e5dd /sys/sys/linker.h
parent247b98ef25f5dc22c83085b3949e78b461c23a11 (diff)
downloadFreeBSD-src-4a92b906b84d292f02b270cdbd7fe4d678f8523e.zip
FreeBSD-src-4a92b906b84d292f02b270cdbd7fe4d678f8523e.tar.gz
Make linker_find_file_by_name() and linker_find_file_by_id() static to
simplify linker locking. The only external consumers now use linker_file_foreach().
Diffstat (limited to 'sys/sys/linker.h')
-rw-r--r--sys/sys/linker.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/sys/linker.h b/sys/sys/linker.h
index bebe9c9..8e3c1fa 100644
--- a/sys/sys/linker.h
+++ b/sys/sys/linker.h
@@ -123,16 +123,6 @@ int linker_reference_module(const char* _modname, struct mod_depend *_verinfo,
int linker_file_foreach(linker_predicate_t *_predicate, void *_context);
/*
- * Find a currently loaded file given its filename.
- */
-linker_file_t linker_find_file_by_name(const char* _filename);
-
-/*
- * Find a currently loaded file given its file id.
- */
-linker_file_t linker_find_file_by_id(int _fileid);
-
-/*
* Called from a class handler when a file is laoded.
*/
linker_file_t linker_make_file(const char* _filename, linker_class_t _cls);
OpenPOWER on IntegriCloud