bfd macro conversion to inline functions
[deliverable/binutils-gdb.git] / sim / ppc / emul_netbsd.c
index 12dfb21b3b0697b63c0a0661f7f287c7ec79db70..9b80fc25dc812ab4317de3a7481b34a31199cc07 100644 (file)
@@ -1413,11 +1413,11 @@ static char *(netbsd_signal_names[]) = {
 
 static emul_syscall emul_netbsd_syscalls = {
   netbsd_descriptors,
-  sizeof(netbsd_descriptors) / sizeof(netbsd_descriptors[0]),
+  ARRAY_SIZE (netbsd_descriptors),
   netbsd_error_names,
-  sizeof(netbsd_error_names) / sizeof(netbsd_error_names[0]),
+  ARRAY_SIZE (netbsd_error_names),
   netbsd_signal_names,
-  sizeof(netbsd_signal_names) / sizeof(netbsd_signal_names[0]),
+  ARRAY_SIZE (netbsd_signal_names),
 };
 
 
This page took 0.024636 seconds and 4 git commands to generate.