I am using `report` document class.
I want to remove word "Chapter" and "chapter number" from chapter title, so when new chapter starts I will get only chapter title. I can do it using:

```
\renewcommand{\chaptername}{}
\renewcommand{\thechapter}{}

```

It looks ok, but it breaks the table of contents. I want numbered chapters on table of contents, e.g.

> 
> 1. Function name one
> 
> 
> 1.1 Parameters
> 
> 
> 1.2 Returned value
> 
> 
> 

but the table of contents looks like this:

> 
> Function name one
> 
> 
> .1 Parameters
> 
> 
> .2 Returned value
> 
> 
> 

I know I can do it using the package `titlesec`, but is there a way to do it without it?