]> andersk Git - moira.git/blobdiff - dbck/dbck.h
Code style cleanup. (No functional changes)
[moira.git] / dbck / dbck.h
index 252fbccfc21264f75a2cdeec5d74a800e8f4b488..aacebee2ab9623ffb630723e05fb4be91de588f4 100644 (file)
@@ -10,8 +10,6 @@
 #include <moira_site.h>
 #include <mit-copyright.h>
 
-#define NULL 0
-
 #define MODE_ASK 1
 #define MODE_NO 2
 #define MODE_PREEN 3
@@ -24,7 +22,7 @@ extern struct hash *filesys, *nfsphys, *strings, *subnets, *string_dups;
 #define MAX_ID_VALUE 32765
 #define MIN_ID_VALUE 100
 
-#define dprintf                if (debug) printf
+#define dprintf if (debug) printf
 
 struct user {
   char login[9];
@@ -62,40 +60,40 @@ struct subnet {
 };
 
 struct cluster {
-    char name[33];
-    int clu_id;
-    int modby;
+  char name[33];
+  int clu_id;
+  int modby;
 };
 
 struct list {
-    char name[33];
-    char acl_type;
-    int list_id;
-    int  acl_id;
-    int members;
+  char name[33];
+  char acl_type;
+  int list_id;
+  int  acl_id;
+  int members;
 };
 
 struct string {
-    char *name;
-    int string_id;
-    int refc;
+  char *name;
+  int string_id;
+  int refc;
 };
 
 struct filesys {
-    char name[33];
-    char dir[81];
-    char type;
-    int filsys_id;
-    int mach_id;
-    int owner;
-    int owners;
-    int phys_id;
+  char name[33];
+  char dir[81];
+  char type;
+  int filsys_id;
+  int mach_id;
+  int owner;
+  int owners;
+  int phys_id;
 };
 
 struct nfsphys {
-    char dir[33];
-    int mach_id;
-    int nfsphys_id;
-    int allocated;
-    int count;
+  char dir[33];
+  int mach_id;
+  int nfsphys_id;
+  int allocated;
+  int count;
 };
This page took 0.114452 seconds and 4 git commands to generate.