Changeset 6262b5c in buchla-68k for libsm


Ignore:
Timestamp:
07/10/2017 12:02:05 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
39a696b
Parents:
5fa506d
Message:

Added include files for global functions and variables.

Location:
libsm
Files:
33 added
33 edited

Legend:

Unmodified
Added
Removed
  • libsm/index.c

    r5fa506d r6262b5c  
    55   ============================================================================
    66*/
     7
     8#include "all.h"
    79
    810int8_t *index(int8_t *str, int8_t c)
  • libsm/memccpy.c

    r5fa506d r6262b5c  
    1111*/
    1212
     13#include "all.h"
     14
    1315void *memccpy(void *vp1, void *vp2, int8_t c, int16_t n)
    1416{
  • libsm/memchr.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113void *memchr(void *vp, int8_t c, int16_t n)
  • libsm/memcmp.c

    r5fa506d r6262b5c  
    77   =============================================================================
    88*/
     9
     10#include "all.h"
    911
    1012int16_t memcmp(void *vp1, void *vp2, int16_t n)
  • libsm/memcmpu.c

    r5fa506d r6262b5c  
    66*/
    77
    8 #include "ctype.h"
     8#include "all.h"
    99
    1010int16_t memcmpu(void *vp1, void *vp2, int16_t n)
     
    3636        return(0);
    3737}
     38
  • libsm/memcpy.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99 */
     10
     11#include "all.h"
    1012
    1113void *memcpy(void *vp1, void *vp2, int16_t n)
  • libsm/memcpyw.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113void *memcpyw(void *vp1, void *vp2, int16_t n)
  • libsm/memset.c

    r5fa506d r6262b5c  
    99*/
    1010
     11#include "all.h"
     12
    1113void *memset(void *vp, int8_t c, int16_t n)
    1214{
  • libsm/memsetw.c

    r5fa506d r6262b5c  
    99*/
    1010
     11#include "all.h"
     12
    1113void *memsetw(void *vp, int16_t s, int16_t n)
    1214{
  • libsm/rindex.c

    r5fa506d r6262b5c  
    55   ============================================================================
    66*/
     7
     8#include "all.h"
    79
    810int8_t *rindex(int8_t *str, int8_t c)
  • libsm/str2lc.c

    r5fa506d r6262b5c  
    66*/
    77
    8 #include "ctype.h"
     8#include "all.h"
    99
    1010int8_t *str2lc(int8_t *s)
     
    1818        return(r);
    1919}
     20
  • libsm/str2uc.c

    r5fa506d r6262b5c  
    66*/
    77
    8 #include "ctype.h"
     8#include "all.h"
    99
    1010int8_t *str2uc(int8_t *s)
     
    1818        return(r);
    1919}
     20
  • libsm/strcat.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int8_t *strcat(int8_t *s1, int8_t *s2)
  • libsm/strccpy.c

    r5fa506d r6262b5c  
    1616 */
    1717
     18#include "all.h"
     19
    1820int8_t *strccpy(int8_t *s1, int8_t *s2, int8_t c)
    1921{
  • libsm/strchr.c

    r5fa506d r6262b5c  
    88*/
    99
    10 #define NULL    0
     10#include "all.h"
    1111
    1212int8_t *strchr(int8_t *sp, int8_t c)
  • libsm/strcmp.c

    r5fa506d r6262b5c  
    77   =============================================================================
    88*/
     9
     10#include "all.h"
    911
    1012int16_t strcmp(int8_t *s1, int8_t *s2)
  • libsm/strcpy.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int8_t *strcpy(int8_t *s1, int8_t *s2)
  • libsm/strcspn.c

    r5fa506d r6262b5c  
    88   ============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int16_t strcspn(int8_t *string, int8_t *charset)
  • libsm/strfill.c

    r5fa506d r6262b5c  
    1212   =============================================================================
    1313*/
     14
     15#include "all.h"
    1416
    1517int8_t *strfill(int8_t *s, int8_t c, uint16_t n)
  • libsm/strlcmp.c

    r5fa506d r6262b5c  
    1515*/
    1616
    17 #include "strings.h"
     17#include "all.h"
    1818
    1919int16_t strlcmp(int8_t *s, int8_t *l[])
     
    3333        return(0);
    3434}
     35
  • libsm/strlen.c

    r5fa506d r6262b5c  
    88*/
    99
     10#include "all.h"
    1011
    1112int16_t strlen(int8_t *s)
  • libsm/strltrm.c

    r5fa506d r6262b5c  
    88*/
    99
    10 #include "stddefs.h"
     10#include "all.h"
    1111
    1212int8_t *strltrm(int8_t *s)
     
    3131        return(s);
    3232}
     33
  • libsm/strncat.c

    r5fa506d r6262b5c  
    99   =============================================================================
    1010*/
     11
     12#include "all.h"
    1113
    1214int8_t *strncat(int8_t *s1, int8_t *s2, int16_t n)
  • libsm/strncmp.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int16_t strncmp(int8_t *s1, int8_t *s2, int16_t n)
  • libsm/strncpy.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int8_t *strncpy(int8_t *s1, int8_t *s2, int16_t n)
  • libsm/strpbrk.c

    r5fa506d r6262b5c  
    88   =============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int8_t *strpbrk(int8_t *string, int8_t *brkset)
  • libsm/strrchr.c

    r5fa506d r6262b5c  
    99*/
    1010
    11 #define NULL    (int8_t *)0
     11#include "all.h"
    1212
    1313int8_t *strrchr(int8_t *sp, int8_t c)
  • libsm/strrev.c

    r5fa506d r6262b5c  
    1313   =============================================================================
    1414*/
     15
     16#include "all.h"
    1517
    1618int8_t *strrev(int8_t *s1, int8_t *s2)
  • libsm/strrevi.c

    r5fa506d r6262b5c  
    1111   =============================================================================
    1212*/
     13
     14#include "all.h"
    1315
    1416int8_t *strrevi(int8_t *s)
  • libsm/strrtrm.c

    r5fa506d r6262b5c  
    88*/
    99
    10 #include "stddefs.h"
     10#include "all.h"
    1111
    1212int8_t *strrtrm(int8_t *s)
     
    3030        return(lp);
    3131}
     32
  • libsm/strspn.c

    r5fa506d r6262b5c  
    88   ============================================================================
    99*/
     10
     11#include "all.h"
    1012
    1113int16_t strspn(int8_t *string, int8_t *charset)
  • libsm/strtok.c

    r5fa506d r6262b5c  
    1111*/
    1212
    13 #define NULL    (int8_t *)0
    14 
    15 extern int16_t strspn(int8_t *string, int8_t *charset);
    16 extern int8_t *strpbrk(int8_t *string, int8_t *brkset);
     13#include "all.h"
    1714
    1815int8_t *strtok(int8_t *string, int8_t *sepset)
  • libsm/strtol.c

    r5fa506d r6262b5c  
    66*/
    77
    8 #include "ctype.h"
     8#include "all.h"
    99
    1010#define DIGIT(x) (isdigit(x) ? (x)-'0' : islower(x) ? (x)+10-'a' : (x)+10-'A')
     
    6767        return (neg ? val : -val);
    6868}
     69
Note: See TracChangeset for help on using the changeset viewer.