diff options
| author | Andre Noll <maan@tuebingen.mpg.de> | 2024-10-23 18:45:30 +0200 |
|---|---|---|
| committer | Andre Noll <maan@tuebingen.mpg.de> | 2025-03-23 19:13:50 +0100 |
| commit | 07b73ad8272084b706d18ee2286bf25711dbaabb (patch) | |
| tree | c79ef9a311120433f4ebe72dbbaa492bab449c19 /ipc.c | |
| parent | 5770e00c6e59528762be20610af6d8bd24d6872f (diff) | |
This essentially reverts commit 66cdd5bc99a5 which aimed to make the
dss log facility C89 conform. While this was a worthwhile goal in
2012, it has little value today, since in 2025 we can safely assume
a C99 compliant compiler.
The patch was created with
git revert -Xours 66cdd5bc
followed by manual tweaks to make it compile again.
Diffstat (limited to 'ipc.c')
| -rw-r--r-- | ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -82,7 +82,7 @@ static int mutex_get(key_t key, int flags) { int ret; - DSS_DEBUG_LOG(("getting semaphore 0x%lx\n", (long)key)); + DSS_DEBUG_LOG("getting semaphore 0x%lx\n", (long)key); ret = semget(key, 2, flags); if (ret < 0) return -ERRNO_TO_DSS_ERROR(errno); @@ -93,7 +93,7 @@ static int do_semop(int id, struct sembuf *sops, int num) { int ret; - DSS_DEBUG_LOG(("calling semop\n")); + DSS_DEBUG_LOG("calling semop\n"); do { ret = semop(id, sops, num); if (ret >= 0) @@ -107,7 +107,7 @@ static bool mutex_is_locked(int id) struct sembuf sops; int ret; - DSS_DEBUG_LOG(("trying to lock\n")); + DSS_DEBUG_LOG("trying to lock\n"); sops.sem_num = 0; sops.sem_op = 0; |
