mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Newer clang builds complain about old-style function declarations not having any prototype assigned. The missing `void` is triggering the Wstrict-prototype warns. Explicitly add the `void` keyword to satisfy the compiler. This fixes the following warnings: drivers/staging/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c: 1288:34: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct ce_ops *ce_services_legacy() ^ void drivers/staging/qca-wifi-host-cmn/hif/src/ce/ce_service_srng.c:1017:32: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct ce_ops *ce_services_srng() ^ void drivers/staging/qca-wifi-host-cmn/target_if/core/src/target_if_main.c: 88:40: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct target_if_ctx *target_if_get_ctx() ^ void drivers/staging/qca-wifi-host-cmn/umac/scan/dispatcher/src/wlan_extscan_api.c: 103:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] wlan_extscan_global_deinit() ^ void Change-Id: Ifd95b57d19a25f0932e5de8ec4de2f2c1e7e1259 Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
…
…
…
…
…
…
…
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
Description
Languages
C
98.1%
Assembly
1.2%
Makefile
0.3%