diff --git a/src/proto.h b/src/proto.h
index afd2d5c22a18abd2e1c3559433f93bb5f28834bb..1d9ba95dca4bfb360ef250328bc243ca4eb2e4ff 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -318,9 +318,6 @@ char *histfilename(void);
 void load_history(void);
 bool writehist(FILE *hist, filestruct *histhead);
 void save_history(void);
-#ifndef DISABLE_TABCOMP
-char *get_history_completion(filestruct **h, char *s, size_t len);
-#endif
 #endif
 
 /* Public functions in global.c. */