--- src/usr.bin/make/buf.c 2005/08/24 00:08:05 1.42 +++ src/usr.bin/make/buf.c 2005/09/24 07:37:38 1.43 @@ -120,23 +120,6 @@ Buf_AddBytes(Buffer *bp, size_t len, con } /** - * Get a reference to the internal buffer. - * - * @param len Pointer to where we return the number of bytes in - * the internal buffer. - * - * @return A pointer to the data. - */ -char * -Buf_GetAll(Buffer *bp, size_t *len) -{ - if (len != NULL) - *len = Buf_Size(bp); - - return (Buf_Data(bp)); -} - -/** * Get the contents of a buffer and destroy the buffer. If the buffer * is NULL, return NULL. *