Révision 137 pobysoC-4.0/src/test-pobyso-subpoly.c

test-pobyso-subpoly.c (revision 137)
22 22
/* Other declarations */
23 23

  
24 24
/* Internal prototypes */
25
long int
25
int
26 26
read_long_decimal(long int* value, char* string);
27
long int
28
read_unsigned_long_decimal(long int* value, char* string);
27
int
28
read_unsigned_long_decimal(long unsigned int* value, char* string);
29 29

  
30 30
/* Types, constants and macros definitions */
31 31

  
32 32
/* Global variables */
33 33

  
34 34
/* Functions */
35
long int
35
int
36 36
read_long_decimal(long int* returnValue, char* string)
37 37
{
38 38
  char* endptr[1];
......
49 49
    *returnValue = convertedValue;
50 50
    return 0;
51 51
  }
52
  return 0;
53 52
} /* End read_long_decimal. */
54 53

  
55
long int
56
read_unsigned_long_decimal(long int* returnValue, char* string)
54
int
55
read_unsigned_long_decimal(long unsigned int* returnValue, char* string)
57 56
{
58 57
  char* endptr[1];
59 58
  long int convertedValue = 0;

Formats disponibles : Unified diff