Fixed a lot of warnings.

svn path=/trunk/; revision=2008
This commit is contained in:
Eric Kohl 2001-06-25 12:32:56 +00:00
parent b9689b04fa
commit 6e9bf90969
5 changed files with 23 additions and 6 deletions

View file

@ -1,13 +1,17 @@
/* $Id: rtl.h,v 1.53 2001/06/22 12:39:48 ekohl Exp $
/* $Id: rtl.h,v 1.54 2001/06/25 12:31:00 ekohl Exp $
*
*/
#ifndef __DDK_RTL_H
#define __DDK_RTL_H
#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined (__NTAPP__)
#include <stddef.h>
#include <stdarg.h>
#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
#include <pe.h>
typedef struct _INITIAL_TEB
@ -2077,6 +2081,8 @@ VOID STDCALL RtlMapGenericMask (PACCESS_MASK AccessMask, PGENERIC_MAPPING Generi
/* functions exported from NTOSKRNL.EXE which are considered RTL */
#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined(__NTAPP__)
char *_itoa (int value, char *string, int radix);
int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
int _snwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, ...);
@ -2149,4 +2155,6 @@ wchar_t *wcsstr(const wchar_t *s,const wchar_t *b);
size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count);
int wctomb (char *mbchar, wchar_t wchar);
#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
#endif /* __DDK_RTL_H */

View file

@ -117,6 +117,14 @@ typedef char CCHAR;
#define FALSE 0
#define TRUE 1
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif /* __cplusplus */
#endif /* NULL */
typedef const unsigned short *PCWSTR;
typedef char* PCSZ;

View file

@ -1,4 +1,4 @@
/* $Id: lsa.c,v 1.1 2000/08/12 19:33:19 dwelch Exp $
/* $Id: lsa.c,v 1.2 2001/06/25 12:32:56 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -14,6 +14,7 @@
#include <ddk/ntddk.h>
#include <napi/lpc.h>
#include <lsass/lsass.h>
#include <string.h>
/* GLOBALS *******************************************************************/

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.12 2001/03/25 02:34:30 dwelch Exp $
# $Id: makefile,v 1.13 2001/06/25 12:32:27 ekohl Exp $
#
# CSRSS: Client/server runtime subsystem
#
@ -8,7 +8,7 @@ PATH_TO_TOP = ../..
TARGET=csrss
CFLAGS = -I.
CFLAGS = -D__NTAPP__ -I.
OBJECTS_API = api/process.o api/wapi.o api/conio.o api/handle.o

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.6 2000/11/20 19:59:14 ekohl Exp $
# $Id: makefile,v 1.7 2001/06/25 12:32:39 ekohl Exp $
#
# Session Manager
#
@ -8,7 +8,7 @@ PATH_TO_TOP = ../..
TARGET=smss
BASE_CFLAGS = -I../../include
CFLAGS = -D__NTAPP__
OBJECTS = $(TARGET).o init.o smapi.o $(TARGET).coff