]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
handle_SCSS_change() need not be global.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 4 Aug 2004 15:31:30 +0000 (15:31 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 4 Aug 2004 15:31:30 +0000 (15:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2570

coregrind/vg_include.h
coregrind/vg_signals.c

index 36ca41003960443792728c8ba5da0ef492793573..0d1c37e943657fdfa98019e72b83a7e132550a35 100644 (file)
@@ -988,7 +988,6 @@ extern void VG_(sigstartup_actions) ( void );
 
 extern void VG_(deliver_signal) ( ThreadId tid, const vki_ksiginfo_t *, Bool async );
 extern void VG_(unblock_host_signal) ( Int sigNo );
-extern void VG_(handle_SCSS_change) ( Bool force_update );
 
 extern Bool VG_(is_sig_ign) ( Int sigNo );
 
index 974377339a097162dd40900744dde22b65465484..9f7d88938b0cd2f9b6444880ea06374f1a46c5dc 100644 (file)
@@ -379,7 +379,7 @@ void calculate_SKSS_from_SCSS ( SKSS* dst )
    After a possible SCSS change, update SKSS and the kernel itself.
    ------------------------------------------------------------------ */
 
-void VG_(handle_SCSS_change) ( Bool force_update )
+static void handle_SCSS_change ( Bool force_update )
 {
    Int            res, sig;
    SKSS           skss_old;
@@ -583,7 +583,7 @@ void VG_(do__NR_sigaction) ( ThreadId tid )
 
    /* All happy bunnies ... */
    if (new_act) {
-      VG_(handle_SCSS_change)( False /* lazy update */ );
+      handle_SCSS_change( False /* lazy update */ );
    }
    SET_SYSCALL_RETVAL(tid, 0);
    return;
@@ -1914,7 +1914,7 @@ void VG_(deliver_signal) ( ThreadId tid, const vki_ksiginfo_t *info, Bool async
         /* Do the ONESHOT thing. */
         handler->scss_handler = VKI_SIG_DFL;
 
-        VG_(handle_SCSS_change)( False /* lazy update */ );
+        handle_SCSS_change( False /* lazy update */ );
       }
    
       switch(tst->status) {
@@ -2377,7 +2377,7 @@ void VG_(sigstartup_actions) ( void )
 
    /* Calculate SKSS and apply it.  This also sets the initial kernel
       mask we need to run with. */
-   VG_(handle_SCSS_change)( True /* forced update */ );
+   handle_SCSS_change( True /* forced update */ );
 
 }