Move Fiiles to comply more with nss layout
All checks were successful
Source release / source-package (push) Successful in 1m30s

This commit is contained in:
Mario Fetka
2026-06-20 16:57:40 +02:00
parent f36cddf424
commit 789cbf51ff
6 changed files with 4 additions and 36 deletions

View File

@@ -66,11 +66,10 @@ endif()
set(NWNSS_ROOT_SOURCES
nssUserspaceProvider.c
nssUserspaceQuota.c
utcUserland.c
)
set(NWNSS_LIBRARY_SOURCES
library/bit.c
library/bit/bit.c
library/debug/DebugHexDump.c
library/debug/DebugPrintf.c
library/debug/assert.c
@@ -133,7 +132,7 @@ set(NWNSS_LIBRARY_SOURCES
library/os/worktodo.c
library/parse/pcmdline.c
library/qdiv.c
library/que.c
library/que/que.c
library/stdio/aprintf.c
library/stdio/errprintf.c
library/stdio/getchar.c
@@ -235,8 +234,8 @@ set(NWNSS_LIBRARY_SOURCES
library/wio/wsetpos.c
library/wio/wsyncin.c
library/wio/wvprintf.c
library/xCtype.c
library/xString.c
library/xCtype/xCtype.c
library/xString/xString.c
)
set(NWNSS_NSSLNXLIB_SOURCES

View File

@@ -1,31 +0,0 @@
/****************************************************************************
|
| NSS userspace userland glue for imported NSS UTC helpers.
|
| The NSS kernel build obtains current UTC and timezone state from the OS.
| the userspace NSS build keeps the same exported names but backs them with libc time(3)
| and UTC defaults until the wider NSS runtime is imported.
|
| This program is free software; you can redistribute it and/or modify it
| under the terms of version 2 of the GNU General Public License as
| published by the Free Software Foundation.
|
+-------------------------------------------------------------------------*/
#include <time.h>
#include <include/utc.h>
volatile LONG UpTimeInSeconds = 0;
LONG NSS_TimeZoneOffset = 0;
NINT NSS_DaylightOnOff = 0;
LONG NSS_DaylightOffset = 0;
#if !zLINUX
BOOL IgnoreTimeZone = FALSE;
NINT ResetTimeCache = 0;
void (*BEASTHASH_InvalidateDOSTimesPtr)(void) = NULL;
#endif
Time_t GetUTCTime(void)
{
return (Time_t)time(NULL);
}