Two more functions that can be marked static. Compile- and run-tested. Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/elflink.c b/elflink.c index 86ef7ae..f8c1ac6 100644 --- a/elflink.c +++ b/elflink.c @@ -256,7 +256,7 @@ static int prepare_segment(struct seg_in return 0; } -void remap_segments(struct seg_info *seg, int num) +static void remap_segments(struct seg_info *seg, int num) { int hpage_size = gethugepagesize(); int i; @@ -301,7 +301,7 @@ void remap_segments(struct seg_info *seg */ } -int maybe_prepare(int fd_state, struct seg_info *seg) +static int maybe_prepare(int fd_state, struct seg_info *seg) { int ret, reply = 0; -- Nishanth Aravamudan <[EMAIL PROTECTED]> IBM Linux Technology Center ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel