diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-23 18:32:49 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-23 18:32:49 +0000 |
| commit | 3502b31fb0b7f19fa681d4444f1e6b97d5be0cea (patch) | |
| tree | 0140d56ce042c7c8453e34823075dd0304f2f6cf /src/include | |
| parent | 6fbc86a95333119569fc6d59a272d426a40abbc8 (diff) | |
| download | skalibs-3502b31fb0b7f19fa681d4444f1e6b97d5be0cea.tar.gz | |
Make fd_sanitize() a real function
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/skalibs/djbunix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h index 0304ce8..29e37d2 100644 --- a/src/include/skalibs/djbunix.h +++ b/src/include/skalibs/djbunix.h @@ -31,7 +31,7 @@ extern int fd_sync (int) ; extern off_t fd_cat (int, int) ; extern off_t fd_catn (int, int, off_t) ; extern int fd_ensure_open (int, int) ; -#define fd_sanitize() (fd_ensure_open(0, 0) && fd_ensure_open(1, 1) && fd_ensure_open(2, 1)) +extern void fd_sanitize (void) ; extern void fd_shutdown (int, int) ; extern int fd_lock (int, int, int) ; |
