From 7f7710a24df161bd16b902ab876fd71cbeef5c28 Mon Sep 17 00:00:00 2001
From: epriestley <git@epriestley.com>
Date: Thu, 12 Jan 2012 13:54:28 -0800
Subject: [PATCH] Add @phutil-external-symbol declarations to Phabricator

Summary: See D1381.

Test Plan: Ran "arc liberate src/ --all" and got a clean rebuild.

Reviewers: btrahan, jungejason

Reviewed By: jungejason

CC: aran, jungejason

Maniphest Tasks: T762

Differential Revision: https://secure.phabricator.com/D1382
---
 .../view/symbol/PhabricatorXHProfProfileSymbolView.php     | 5 ++++-
 .../view/toplevel/PhabricatorXHProfProfileTopLevelView.php | 5 ++++-
 .../form/control/recaptcha/AphrontFormRecaptchaControl.php | 7 ++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/applications/xhprof/view/symbol/PhabricatorXHProfProfileSymbolView.php b/src/applications/xhprof/view/symbol/PhabricatorXHProfProfileSymbolView.php
index 9561dbece7..766bb7d056 100644
--- a/src/applications/xhprof/view/symbol/PhabricatorXHProfProfileSymbolView.php
+++ b/src/applications/xhprof/view/symbol/PhabricatorXHProfProfileSymbolView.php
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,6 +16,9 @@
  * limitations under the License.
  */
 
+/**
+ * @phutil-external-symbol function xhprof_compute_flat_info
+ */
 class PhabricatorXHProfProfileSymbolView extends AphrontView {
 
   private $profileData;
diff --git a/src/applications/xhprof/view/toplevel/PhabricatorXHProfProfileTopLevelView.php b/src/applications/xhprof/view/toplevel/PhabricatorXHProfProfileTopLevelView.php
index 55d873bd2f..3806719280 100644
--- a/src/applications/xhprof/view/toplevel/PhabricatorXHProfProfileTopLevelView.php
+++ b/src/applications/xhprof/view/toplevel/PhabricatorXHProfProfileTopLevelView.php
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,6 +16,9 @@
  * limitations under the License.
  */
 
+/**
+ * @phutil-external-symbol function xhprof_compute_flat_info
+ */
 class PhabricatorXHProfProfileTopLevelView extends AphrontView {
 
   private $profileData;
diff --git a/src/view/form/control/recaptcha/AphrontFormRecaptchaControl.php b/src/view/form/control/recaptcha/AphrontFormRecaptchaControl.php
index a3def8c0f5..d2c5772f02 100644
--- a/src/view/form/control/recaptcha/AphrontFormRecaptchaControl.php
+++ b/src/view/form/control/recaptcha/AphrontFormRecaptchaControl.php
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,6 +16,11 @@
  * limitations under the License.
  */
 
+/**
+ *
+ * @phutil-external-symbol function recaptcha_get_html
+ * @phutil-external-symbol function recaptcha_check_answer
+ */
 class AphrontFormRecaptchaControl extends AphrontFormControl {
 
   protected function getCustomControlClass() {