]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DARWIN sync: conditional compilation and spacing/comments.
authorNicholas Nethercote <njn@valgrind.org>
Wed, 20 May 2009 06:42:59 +0000 (06:42 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 20 May 2009 06:42:59 +0000 (06:42 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10036

coregrind/pub_core_vkiscnums.h

index 0adbb94eef1fb1258c1f2de9e9904ba487b77f9c..4cedf375246da07fc29f6a325c8a00c9543e5b89 100644 (file)
@@ -1,7 +1,6 @@
 
 /*--------------------------------------------------------------------*/
-/*--- Top level for kernel interface declarations.                 ---*/
-/*---                                         pub_core_vkiscnums.h ---*/
+/*--- Syscall numbers and related operations. pub_core_vkiscnums.h ---*/
 /*--------------------------------------------------------------------*/
 
 /*
 /* Make it possible to include this file in assembly sources. */
 #if !defined(VG_IN_ASSEMBLY_SOURCE)
 
-#if defined(VGO_aix5)
+#if defined(VGO_linux)
+   // Nothing
+
+#elif defined(VGO_aix5)
 /* Bind the given syscall name to the given number.  Returns True if
    successful, False if the name is unknown. */
 extern Bool VG_(aix5_register_syscall)( Int, UChar* );
-#endif
 
-#endif /* !defined(VG_IN_ASSEMBLY_SOURCE) */
+#else
+#  error Unknown OS
+#endif // defined(VGO_*)
+
+#endif // !defined(VG_IN_ASSEMBLY_SOURCE)
 
 #endif // __PUB_CORE_VKISCNUMS_H