Address unprototyped call in dock.c
commitb6ced4fa5d291b94eb10170860fd8e22dc29c157
authorCarlos R. Mafra <crmafra@gmail.com>
Sat, 23 Jun 2012 11:04:29 +0000 (23 12:04 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 23 Jun 2012 11:09:41 +0000 (23 12:09 +0100)
treed1ee5652c42ece7f4253ec7bc4a910e94a571698
parent0e671d36834ed3473d87dd7fc3b387ad6ae7d179
Address unprototyped call in dock.c

Create a header file dockedapp.h to address a long-standing warning
which pollutes the compilation output with --enable-silent-rules:

Making all in src
  CC     dock.o
dock.c: In function ‘wDockDetach’:
dock.c:2118:3: warning: call to function ‘DestroyDockAppSettingsPanel’ without a real prototype [-Wunprototyped-calls]
dock.c:65:13: note: ‘DestroyDockAppSettingsPanel’ was declared here
  CCLD   wmaker
src/dock.c
src/dockedapp.c
src/dockedapp.h [new file with mode: 0644]