]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/cnid_metad.c
remove pre ansi declarations
[netatalk.git] / etc / cnid_dbd / cnid_metad.c
index d0207cb8d64d77b38341a70112c24db34a3e8aca..ecc5045d75fa7007306fffb959fb12a0be9b0ac0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cnid_metad.c,v 1.13 2009-07-21 13:41:16 didg Exp $
+ * $Id: cnid_metad.c,v 1.15 2009-10-13 22:55:37 didg Exp $
  *
  * Copyright (C) Joerg Lenneis 2003
  * All Rights Reserved.  See COPYING.
 #define WTERMSIG(status)      ((status) & 0x7f)
 #endif
 
-#ifdef ATACC
-#define fork aTaC_fork
-#endif
-
 /* functions for username and group */
 #include <pwd.h>
 #include <grp.h>
@@ -347,8 +343,7 @@ static int set_dbdir(char *dbdir, int len)
 }
 
 /* ------------------ */
-uid_t user_to_uid ( username )
-    char    *username;
+uid_t user_to_uid (char *username)
 {
     struct passwd *this_passwd;
 
@@ -367,8 +362,7 @@ uid_t user_to_uid ( username )
 }
 
 /* ------------------ */
-gid_t group_to_gid ( group )
-    char    *group;
+gid_t group_to_gid ( char *group)
 {
     struct group *this_group;