]> granicus.if.org Git - clang/commitdiff
Add missing CINDEX_LINKAGE.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 6 Jan 2010 06:51:48 +0000 (06:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 6 Jan 2010 06:51:48 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92827 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang-c/Index.h

index bf1145489013fcca0db049ce8a04963a78c774e1..d853072661ebfd58a6f30a03f1d1c73ce7146ef2 100644 (file)
@@ -344,11 +344,12 @@ typedef struct CXDeclExtent {
   CXSourceLineColumn end;
 } CXSourceExtent;
 
-/* clang_getDeclExtent() returns the physical extent of a declaration.  The beginning
- * line/column pair points to the start of the first token in the declaration, and the
- * ending line/column pair points the start of the last token in the declaration.
+/* clang_getDeclExtent() returns the physical extent of a declaration.  The
+ * beginning line/column pair points to the start of the first token in the
+ * declaration, and the ending line/column pair points the start of the last
+ * token in the declaration.
  */
-CXSourceExtent clang_getDeclExtent(CXDecl);
+CINDEX_LINKAGE CXSourceExtent clang_getDeclExtent(CXDecl);
 
 /*
  * CXCursor Operations.