Changeset 657 for trunk/user/pgcd/pgcd.c


Ignore:
Timestamp:
Mar 18, 2020, 11:16:59 PM (4 years ago)
Author:
alain
Message:

Introduce remote_buf.c/.h & socket.c/.h files.
Update dev_nic.c/.h files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/pgcd/pgcd.c

    r637 r657  
    1818void main( void )
    1919{
    20     int                opx;
    21     int                opy;
    22     int                x;
    23     int                y;
     20    unsigned int       opx;
     21    unsigned int       opy;
     22    unsigned int       x;
     23    unsigned int       y;
    2424    unsigned long long cycle;
    2525    unsigned int       cxy;
     
    3434    // get operand X
    3535    printf("operand X = ");
    36     opx = get_uint32();
     36    get_uint32( &opx );
    3737    printf("\n");
    3838
    3939    // get operand Y
    4040    printf("operand Y = ");
    41     opy = get_uint32();
     41    get_uint32( &opy );
    4242    printf("\n");
    4343
Note: See TracChangeset for help on using the changeset viewer.