Ignore:
Timestamp:
Dec 2, 2001, 12:06:23 AM (24 years ago)
Author:
bird
Message:

include ctype.h to get the toupper() proto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/string.c

    r4672 r7521  
    1 /* $Id: string.c,v 1.1 2000-11-22 01:11:01 phaller Exp $ */
     1/* $Id: string.c,v 1.2 2001-12-01 23:06:23 bird Exp $ */
    22
    33/*
    44 * The C RunTime DLL
    5  * 
     5 *
    66 * Implements C run-time functionality as known from UNIX.
    77 *
     
    1919//#include <odin.h>
    2020//#include <os2win.h>
    21 //#include <ctype.h>
     21#include <ctype.h>                      /* toupper proto */
    2222//#include <heapstring.h>
    2323#include <string.h>
     
    129129{
    130130  LPSTR y=x;
    131  
     131
    132132  dprintf2(("CRTDLL: _strupr(%s)\n",
    133133           x));
     
    342342  return (strstr(str1, str2));
    343343}
    344  
     344
    345345
    346346/*********************************************************************
     
    416416 *                  _strdec           (CRTDLL.282)
    417417 *
    418  * Return the byte before str2 while it is >= to str1. 
     418 * Return the byte before str2 while it is >= to str1.
    419419 *
    420420 * PARAMS
     
    509509  LPSTR p1;
    510510  LPSTR p2;
    511  
     511
    512512  if (str && *str)
    513513    for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
     
    569569{
    570570  //_swab(s1, s2, i);
    571  
     571
    572572  if (len > 1)
    573573  {
Note: See TracChangeset for help on using the changeset viewer.