ui/cocoa.m: addRemovableDevicesMenuItems() warning fix
commita7940ec0af4be5d35f65890fe0c722efc5489298
authorJohn Arbuckle <programmingkidx@gmail.com>
Tue, 13 Oct 2015 20:51:18 +0000 (13 21:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Oct 2015 10:06:18 +0000 (16 11:06 +0100)
tree302faa06de6765248b4e9a28093ccd568ccf7450
parenta1dbc05a6f73e63ccfdd538c1825d44aa6347d8f
ui/cocoa.m: addRemovableDevicesMenuItems() warning fix

Eliminate this warning associated with the addRemovableDevicesMenuItems()
function:

ui/cocoa.m:1344:13: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
 static void addRemovableDevicesMenuItems()
             ^
ui/cocoa.m: In function 'addRemovableDevicesMenuItems':
ui/cocoa.m:1344:13: warning: old-style function definition [-Wold-style-definition]

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 7B365FC2-072B-4E8D-A1D9-922C2D691A83@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m