]> granicus.if.org Git - shadow/commitdiff
* lib/prototypes.h: Cleanup.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 8 Jan 2012 16:04:27 +0000 (16:04 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 8 Jan 2012 16:04:27 +0000 (16:04 +0000)
ChangeLog
lib/prototypes.h

index dc4a739a2b5dcf323397450c8edb4918be15ccdb..ce57ab8f1a36992feec7782ce4cc1266a4f9fa34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/prototypes.h: Cleanup.
+
 2011-12-09  Peter Vrabec  <pvrabec@redhat.com>
 
        * lib/prototypes.h, lib/Makefile.am, po/POTFILES.in,
index f001a331d6acf23ecb80df7fc07745e5d7072232..eb26d4d43e622e1edca6d913be4827c366889f42 100644 (file)
@@ -122,10 +122,6 @@ extern int copy_tree (const char *src_root, const char *dst_root,
                       bool reset_selinux,
                       uid_t old_uid, uid_t new_uid,
                       gid_t old_gid, gid_t new_gid);
-#ifdef WITH_SELINUX
-extern int set_selinux_file_context (const char *dst_name);
-extern int reset_selinux_file_context (void);
-#endif
 
 /* encrypt.c */
 extern /*@exposed@*/char *pw_encrypt (const char *, const char *);
@@ -298,12 +294,16 @@ extern void process_root_flag (const char* short_opt, int argc, char **argv);
 extern /*@observer@*/const char *crypt_make_salt (/*@null@*//*@observer@*/const char *meth, /*@null@*/void *arg);
 
 /* selinux.c */
+#ifdef WITH_SELINUX
 extern int set_selinux_file_context (const char *dst_name);
 extern int reset_selinux_file_context (void);
+#endif
 
 /* semanage.c */
+#ifdef WITH_SELINUX
 extern int set_seuser(const char *login_name, const char *seuser_name);
 extern int del_seuser(const char *login_name);
+#endif
 
 /* setugid.c */
 extern int setup_groups (const struct passwd *info);