On 10 Nov 2013 23:31, "w" <[email protected]> wrote:
>
> I am working on the wireless driver source codes that are written in the
C programming language.
>
> I find a function that seems to be declared in 2 different versions:
>
> ath_dev.h:     void        (*scan_start)(ath_dev_t);
>
> ieee80211_scan.h:     int (* scan_start) (ieee80211_scanner_t
ss,
>                              wlan_if_t           vaphandle,
>                              ieee80211_scan_params    *params,
>                              IEEE80211_SCAN_REQUESTOR requestor,
>                              IEEE80211_SCAN_PRIORITY  priority,
>                              IEEE80211_SCAN_ID        *scan_id);
>
> Am I right to say that the OpenWrt uses the C++ compiler on the C
programs so function overloading is allowed?
>

We use GCC. Pretty much every distro uses GCC.
Ask yourself if GCC allows this.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to