Revert previous commit
[reactos.git] / reactos / include / ddk / ntstrsafe.h
index 447a3a5..c107a0d 100644 (file)
@@ -33,7 +33,7 @@ typedef unsigned long DWORD;
 
 /* PRIVATE FUNCTIONS *********************************************************/
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringLengthWorkerA(IN LPCSTR String,
@@ -66,7 +66,7 @@ RtlStringLengthWorkerA(IN LPCSTR String,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringValidateDestA(IN LPSTR Destination,
@@ -95,7 +95,7 @@ RtlStringValidateDestA(IN LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringExValidateDestA(IN OUT LPSTR *Destination,
@@ -111,7 +111,7 @@ RtlStringExValidateDestA(IN OUT LPSTR *Destination,
                                   MaxLength);
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringExValidateSrcA(IN OUT LPCSTR *Source OPTIONAL,
@@ -130,7 +130,7 @@ RtlStringExValidateSrcA(IN OUT LPCSTR *Source OPTIONAL,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringVPrintfWorkerA(OUT LPSTR Destination,
@@ -171,7 +171,7 @@ RtlStringVPrintfWorkerA(OUT LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringCopyWorkerA(OUT LPSTR Destination,
@@ -208,7 +208,7 @@ RtlStringCopyWorkerA(OUT LPSTR Destination,
 
 /* PUBLIC FUNCTIONS **********************************************************/
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringCchCopyA(IN LPSTR Destination,
@@ -219,9 +219,8 @@ RtlStringCchCopyA(IN LPSTR Destination,
     return STATUS_NOT_IMPLEMENTED;
 }
 
-__inline
+static __inline
 NTSTATUS
-NTAPI
 RtlStringCbPrintfA(OUT LPSTR Destination,
                    IN SIZE_T Length,
                    IN LPCSTR Format,
@@ -249,9 +248,8 @@ RtlStringCbPrintfA(OUT LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
-NTAPI
 RtlStringCbPrintfExA(OUT LPSTR Destination,
                      IN SIZE_T Length,
                      OUT LPSTR *DestinationEnd OPTIONAL,
@@ -330,7 +328,7 @@ RtlStringCbPrintfExA(OUT LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringCbCopyExA(OUT LPSTR Destination,
@@ -407,9 +405,8 @@ RtlStringCbCopyExA(OUT LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
-NTAPI
 RtlStringCbPrintfW(
     LPWSTR pszDest,
     IN size_t cbDest,
@@ -420,7 +417,7 @@ RtlStringCbPrintfW(
     return STATUS_NOT_IMPLEMENTED;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringCbCatExA(IN OUT LPSTR Destination,
@@ -494,7 +491,7 @@ RtlStringCbCatExA(IN OUT LPSTR Destination,
     return Status;
 }
 
-__inline
+static __inline
 NTSTATUS
 NTAPI
 RtlStringCbCopyA(OUT LPSTR Destination,
@@ -520,4 +517,4 @@ RtlStringCbCopyA(OUT LPSTR Destination,
     return Status;
 }
 
-#endif
+#endif /* _NTSTRSAFE_H_INCLUDED_ */