mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Fixed a lot of warnings.
svn path=/trunk/; revision=2008
This commit is contained in:
parent
b9689b04fa
commit
6e9bf90969
5 changed files with 23 additions and 6 deletions
|
@ -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
|
#ifndef __DDK_RTL_H
|
||||||
#define __DDK_RTL_H
|
#define __DDK_RTL_H
|
||||||
|
|
||||||
|
#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined (__NTAPP__)
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
|
||||||
|
|
||||||
#include <pe.h>
|
#include <pe.h>
|
||||||
|
|
||||||
typedef struct _INITIAL_TEB
|
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 */
|
/* 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);
|
char *_itoa (int value, char *string, int radix);
|
||||||
int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
|
int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
|
||||||
int _snwprintf(wchar_t *buf, size_t cnt, const wchar_t *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);
|
size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count);
|
||||||
int wctomb (char *mbchar, wchar_t wchar);
|
int wctomb (char *mbchar, wchar_t wchar);
|
||||||
|
|
||||||
|
#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
|
||||||
|
|
||||||
#endif /* __DDK_RTL_H */
|
#endif /* __DDK_RTL_H */
|
||||||
|
|
|
@ -117,6 +117,14 @@ typedef char CCHAR;
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#define TRUE 1
|
#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 const unsigned short *PCWSTR;
|
||||||
|
|
||||||
typedef char* PCSZ;
|
typedef char* PCSZ;
|
||||||
|
|
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -14,6 +14,7 @@
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <napi/lpc.h>
|
#include <napi/lpc.h>
|
||||||
#include <lsass/lsass.h>
|
#include <lsass/lsass.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -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
|
# CSRSS: Client/server runtime subsystem
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ PATH_TO_TOP = ../..
|
||||||
|
|
||||||
TARGET=csrss
|
TARGET=csrss
|
||||||
|
|
||||||
CFLAGS = -I.
|
CFLAGS = -D__NTAPP__ -I.
|
||||||
|
|
||||||
OBJECTS_API = api/process.o api/wapi.o api/conio.o api/handle.o
|
OBJECTS_API = api/process.o api/wapi.o api/conio.o api/handle.o
|
||||||
|
|
||||||
|
|
|
@ -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
|
# Session Manager
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ PATH_TO_TOP = ../..
|
||||||
|
|
||||||
TARGET=smss
|
TARGET=smss
|
||||||
|
|
||||||
BASE_CFLAGS = -I../../include
|
CFLAGS = -D__NTAPP__
|
||||||
|
|
||||||
OBJECTS = $(TARGET).o init.o smapi.o $(TARGET).coff
|
OBJECTS = $(TARGET).o init.o smapi.o $(TARGET).coff
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue