summaryrefslogtreecommitdiff
path: root/src/pal/inc/pal.h
diff options
context:
space:
mode:
authorJustin Van Patten <jvp@justinvp.com>2017-08-22 07:09:08 -0700
committerJan Kotas <jkotas@microsoft.com>2017-08-22 07:09:08 -0700
commitdfd90b728c3bc26c4e038a3dbd6075ce3f257d2b (patch)
tree12ff662c5160c50acfcf47ad09f7f55cbc9bec45 /src/pal/inc/pal.h
parent469940932199d4f281896184c8fd49daffdd1a5d (diff)
downloadcoreclr-dfd90b728c3bc26c4e038a3dbd6075ce3f257d2b.tar.gz
coreclr-dfd90b728c3bc26c4e038a3dbd6075ce3f257d2b.tar.bz2
coreclr-dfd90b728c3bc26c4e038a3dbd6075ce3f257d2b.zip
Delete some dead PAL code (#13469)
* Delete some dead PAL code GetComputerName and GetUserName are not used. * HAVE_GETPWUID_R can now be deleted
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r--src/pal/inc/pal.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index 09ad199933..3ae25e4419 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -1272,31 +1272,6 @@ SetCurrentDirectoryW(
#define SetCurrentDirectory SetCurrentDirectoryA
#endif
-// maximum length of the NETBIOS name (not including NULL)
-#define MAX_COMPUTERNAME_LENGTH 15
-
-// maximum length of the username (not including NULL)
-#define UNLEN 256
-
-PALIMPORT
-BOOL
-PALAPI
-GetUserNameW(
- OUT LPWSTR lpBuffer, // address of name buffer
- IN OUT LPDWORD nSize ); // address of size of name buffer
-
-PALIMPORT
-BOOL
-PALAPI
-GetComputerNameW(
- OUT LPWSTR lpBuffer, // address of name buffer
- IN OUT LPDWORD nSize); // address of size of name buffer
-
-#ifdef UNICODE
-#define GetUserName GetUserNameW
-#define GetComputerName GetComputerNameW
-#endif // UNICODE
-
PALIMPORT
HANDLE
PALAPI