Changeset b46b3c7 in rtems


Ignore:
Timestamp:
Dec 7, 2009, 9:35:45 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
f8fd28e
Parents:
2c63d97
Message:

2009-12-07 Ralf Corsépius <ralf.corsepius@…>

  • dswifi/arm9/source/wifi_arm9.c: Add missing prototypes.
Location:
c/src/lib/libbsp/arm/nds
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/nds/ChangeLog

    r2c63d97 rb46b3c7  
    112009-12-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * dswifi/arm9/source/wifi_arm9.c: Add missing prototypes.
    34        * console/console.c (nds_write): Adjust prototype.
    45
  • c/src/lib/libbsp/arm/nds/dswifi/arm9/source/wifi_arm9.c

    r2c63d97 rb46b3c7  
    356356}
    357357
    358 void Wifi_DisableWifi() {
     358void Wifi_DisableWifi(void) {
    359359        WifiData->reqMode=WIFIMODE_DISABLED;
    360360        WifiData->reqReqFlags &= ~WFLAG_REQ_APCONNECT;
    361361}
    362 void Wifi_EnableWifi() {
     362void Wifi_EnableWifi(void) {
    363363        WifiData->reqMode=WIFIMODE_NORMAL;
    364364        WifiData->reqReqFlags &= ~WFLAG_REQ_APCONNECT;
     
    369369}
    370370
    371 void Wifi_ScanMode() {
     371void Wifi_ScanMode(void) {
    372372        WifiData->reqMode=WIFIMODE_SCAN;
    373373        WifiData->reqReqFlags &= ~WFLAG_REQ_APCONNECT;
     
    381381
    382382
    383 int Wifi_GetNumAP() {
     383int Wifi_GetNumAP(void) {
    384384        int i,j;
    385385        j=0;
     
    516516}
    517517
    518 int Wifi_AssocStatus() {
     518int Wifi_AssocStatus(void) {
    519519        switch(wifi_connect_state) {
    520520                case -1: // error
     
    825825}
    826826
    827 int Wifi_CheckInit() {
     827int Wifi_CheckInit(void) {
    828828        if(!WifiData) return 0;
    829829        return ((WifiData->flags7 & WFLAG_ARM7_ACTIVE) && (WifiData->flags9 & WFLAG_ARM9_ARM7READY));
     
    831831
    832832
    833 void Wifi_Update() {
     833void Wifi_Update(void) {
    834834        int cnt;
    835835        int base, base2, len, fulllen;
     
    927927#ifdef WIFI_USE_TCP_SGIP
    928928
    929 u32 Wifi_GetIP() {
     929u32 Wifi_GetIP(void) {
    930930        if(wifi_hw) return wifi_hw->ipaddr;
    931931        return 0;
Note: See TracChangeset for help on using the changeset viewer.