]> granicus.if.org Git - cronie/commitdiff
Kill a few warnings.
authorTomas Janousek <tjanouse@redhat.com>
Mon, 27 Aug 2007 17:45:16 +0000 (19:45 +0200)
committerTomas Janousek <tjanouse@redhat.com>
Mon, 27 Aug 2007 17:45:16 +0000 (19:45 +0200)
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
src/crontab.c
src/funcs.h

index 5b8aaf76b20f659324a89381bb02575666e8a7d7..b000a530dfc065cd633bce4b923ac1d23d352f37 100644 (file)
@@ -423,7 +423,7 @@ edit_cmd(void) {
        if ( selinux_context )
        {
                 context_t ccon = NULL;
-                char *level = NULL;
+                const char *level = NULL;
 
                 if (!(ccon = context_new(selinux_context)))
                 {
index c50d9b111e032a4eeb8db57691179d324b4cbead..fe54990c482d874d859f5f72f48ab022227442f3 100644 (file)
@@ -103,3 +103,7 @@ int get_security_context(const char *name,
 void free_security_context( security_context_t *scontext );
 
 int crontab_security_access(void);
+
+/* PAM */
+int cron_start_pam(struct passwd *pw);
+void cron_close_pam(void);