bugGNU direvent - Bugs: bug #256, Fix single C99 warning

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #256: Fix single C99 warning

Submitted by:  Dennis Schafroth <schafdog>
Submitted on:  Sun Jul 12 13:16:06 2015  
 
Category: NonePriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sun Jul 12 13:16:06 2015, original submission:

When compiling with compiler that defaults to C99 (on OSX) there is a single warning on implicit declaration of sigv_restore_tab

The following patch should fix this
diff --git a/src/direvent.h b/src/direvent.h
index 07dfd0b..c907e7e 100644
--- a/src/direvent.h
+++ b/src/direvent.h
@@ -241,6 +241,7 @@ int sigv_set_all(void (handler)(int), int sigc, int sigv,
struct sigaction *retsa);
int sigv_set_tab(int sigc, struct sigtab sigtab, struct sigaction retsa);
int sigv_set_action_tab(int sigc, struct sigtab sigtab, struct sigaction sa);
+int sigv_restore_tab(int sigc, struct sigtab sigtab, struct sigaction sa);
^L
void filename_pattern_free(void *p);
int filename_pattern_match(struct grecs_list lp, const char name);

Dennis Schafroth <schafdog>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by schafdog (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray