Changed the mode arg from an int to a mode_t.
authorWayne Davison <wayned@samba.org>
Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)
lib/permstring.c
lib/permstring.h

index fc75d08..3834b7a 100644 (file)
@@ -26,8 +26,7 @@
  *
  * @param buf buffer of at least 11 characters
  **/
-void permstring(char *perms,
-               int mode)
+void permstring(char *perms, mode_t mode)
 {
        static const char *perm_map = "rwxrwxrwx";
        int i;
index d74787d..b996f2a 100644 (file)
@@ -1,3 +1,3 @@
 #define PERMSTRING_SIZE 11
 
-void permstring(char *perms, int mode);
+void permstring(char *perms, mode_t mode);