]> granicus.if.org Git - cronie/commitdiff
Make cron_restore_default_security_context return void.
authorTomas Janousek <tjanouse@redhat.com>
Mon, 27 Aug 2007 11:05:15 +0000 (13:05 +0200)
committerTomas Janousek <tomi@nomi.cz>
Mon, 27 Aug 2007 14:03:55 +0000 (16:03 +0200)
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
src/funcs.h
src/security.c

index 6584be1261fd07bdb3fc10f08199ef9cb5ac2304..2e5545216fd9f7164ebe225b55de982f3b20700f 100644 (file)
@@ -80,7 +80,7 @@ long          get_gmtoff(time_t *, struct tm *);
 
 /* Red Hat security stuff (security.c): 
  */
-int cron_restore_default_security_context( void );
+void cron_restore_default_security_context( void );
 
 int cron_set_job_security_context( entry *e, user *u, char ***jobenvp );
 
index 19961c2376ee0b1c76e913102b3c8a981c49bce5..e83010efd240f3ab4d3a3c55b5a57c534dede027 100644 (file)
@@ -43,7 +43,7 @@ static int cron_change_selinux_range( user *u,
 static int cron_get_job_range( user *u, security_context_t *ucontextp, char **jobenv );
 #endif
 
-int cron_restore_default_security_context() {
+void cron_restore_default_security_context() {
        setexeccon(NULL);
 }