diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 12c1d762e9dd392bf868a66efb6312ee3d9636b6..9ca72848d23c7418334989fca76fbccfc2fde808 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -11,7 +11,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: miscadmin.h,v 1.15 1997/09/18 05:38:09 vadim Exp $
+ * $Id: miscadmin.h,v 1.16 1997/09/18 14:42:22 vadim Exp $
  *
  * NOTES
  *	  some of the information in this file will be moved to
@@ -91,7 +91,6 @@ extern char DateFormat[];
 
 extern int	fsyncOff;
 extern int	SortMem;
-extern int	SortTuplesInTree;
 
 extern Oid	LastOidProcessed;	/* for query rewrite */
 
diff --git a/src/include/utils/psort.h b/src/include/utils/psort.h
index 9f4db17437e80fa9dcb75654def8b090ed4fa4d5..2e4060ef56025db9259110c47ffcb37d3b65dd61 100644
--- a/src/include/utils/psort.h
+++ b/src/include/utils/psort.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: psort.h,v 1.12 1997/09/18 05:42:01 vadim Exp $
+ * $Id: psort.h,v 1.13 1997/09/18 14:42:35 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -57,8 +57,6 @@ typedef struct Psortstate
 	int			tupcount;
 
 	struct leftist *Tuples;
-	int			lt_tupcount;
-	HeapTuple	lasttuple;
 
 	FILE	   *psort_grab_file;
 	long		psort_current;	/* could be file offset, or array index */