autofs: fix build on Fedora 22
autofs: fix build on Fedora 22

The following error happens when building CRIU on Fedora 22:

  CC       autofs.o
autofs.c: In function ‘autofs_mount’:
autofs.c:892:9: error: implicit declaration of function ‘add_post_prepare_cb’ [-Werror=implicit-function-declaration]
   ret = add_post_prepare_cb(autofs_add_mount_info, mi);
         ^
cc1: all warnings being treated as errors

Adding forward declaration of add_post_prepare_cb resolves the issue.

Signed-off-by: Mike Rapoport <367a31fb407f98e30579410d88b55062ec9a1215@il.ibm.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

KKoukiou/criu-remote,AuthenticEshkinKot/criu,efiop/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,efiop/criu,KKoukiou/criu-remote,efiop/criu,eabatalov/criu,eabatalov/criu,eabatalov/criu,efiop/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,efiop/criu,AuthenticEshkinKot/criu,eabatalov/criu,KKoukiou/criu-remote,efiop/criu,KKoukiou/criu-remote,KKoukiou/criu-remote,eabatalov/criu,AuthenticEshkinKot/criu,eabatalov/criu