diff -u -r ../diff.orig/diff.pages.inc ./diff.pages.inc
--- ../diff.orig/diff.pages.inc	2010-02-27 10:32:03.208570411 +0530
+++ ./diff.pages.inc	2010-02-27 11:04:09.945032843 +0530
@@ -4,7 +4,7 @@
  * Generate an overview table of older revisions of a node and provide
  * an input form to select two revisions for a comparison.
  */
-function diff_diffs_overview(&$node) {
+function diff_diffs_overview($node) {
   $output = '';
 
   drupal_set_title(t('Revisions for %title', array('%title' => $node->title)));
@@ -19,7 +19,7 @@
  * @param $node
  *   Node whose revisions are displayed for selection.
  */
-function diff_node_revisions($form_state, &$node) {
+function diff_node_revisions($form_state, $node) {
   global $form_values;
   $form = array();
 
@@ -142,7 +142,7 @@
  * @param $new_vid
  *   Version ID of the new revision.
  */
-function diff_diffs_show(&$node, $old_vid, $new_vid) {
+function diff_diffs_show($node, $old_vid, $new_vid) {
 
   // Set same title as on the 'Revisions' tab for consistency
   drupal_set_title(t('Revisions for %title', array('%title' => $node->title)));
@@ -231,7 +231,7 @@
  * @param $new_node
  *   Node for comparison which will be displayed on the right side.
  */
-function _diff_body_rows(&$old_node, &$new_node) {
+function _diff_body_rows($old_node, $new_node) {
   drupal_add_css(drupal_get_path('module', 'diff') .'/diff.css', 'module', 'all', FALSE);
   module_load_include('php', 'diff', 'DiffEngine');
   module_load_include('inc', 'diff', 'node');
@@ -336,7 +336,7 @@
  * @param $vid
  *   Version ID to look for.
  */
-function _diff_get_previous_vid(&$node_revisions, $vid) {
+function _diff_get_previous_vid($node_revisions, $vid) {
   $previous = NULL;
   foreach ($node_revisions as $revision) {
     if ($previous && $previous->vid == $vid) {
diff -u -r ../diff.orig/node.inc ./node.inc
--- ../diff.orig/node.inc	2010-02-27 10:32:03.208570411 +0530
+++ ./node.inc	2010-02-27 11:04:48.325873575 +0530
@@ -4,7 +4,7 @@
 /**
  * Implementation of hook_diff() for node.module (body and title).
  */
-function node_diff(&$old_node, &$new_node) {
+function node_diff($old_node, $new_node) {
   
   $result = array();
   $type = node_get_types('type', $new_node);
diff -u -r ../diff.orig/taxonomy.inc ./taxonomy.inc
--- ../diff.orig/taxonomy.inc	2010-02-27 10:32:03.208570411 +0530
+++ ./taxonomy.inc	2010-02-27 11:05:04.883364490 +0530
@@ -4,7 +4,7 @@
 /**
  * Implementation of hook_diff() for taxonomy.
  */
-function taxonomy_diff(&$old_node, &$new_node) {
+function taxonomy_diff($old_node, $new_node) {
   $result = array();
   // TODO: make taxonomy by category not only by whole taxonomy?
   $old_taxonomy = array();
diff -u -r ../diff.orig/upload.inc ./upload.inc
--- ../diff.orig/upload.inc	2010-02-27 10:32:03.208570411 +0530
+++ ./upload.inc	2010-02-27 11:05:10.188382729 +0530
@@ -4,7 +4,7 @@
 /**
  * Implementation of hook_diff() for file attachments.
  */
-function upload_diff(&$old_node, &$new_node) {
+function upload_diff($old_node, $new_node) {
   $result = array();
   $old_files = array();
   if (isset($old_node->files)) {
