style and comments for threadpool.c

This commit is contained in:
elvis
2022-05-07 23:00:47 +02:00
parent 0242635691
commit 8f37f4e6eb
5 changed files with 13 additions and 12 deletions

View File

@ -1,16 +1,16 @@
#ifndef _UTIL_H
#define _UTIL_H
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <pthread.h>
#include <errno.h>
#include <unistd.h>
#if !defined(BUFSIZE)
#define BUFSIZE 256
@ -62,8 +62,7 @@
}
/**
* \brief Procedura di utilita' per la stampa degli errori
*
* @brief Procedura di utilita' per la stampa degli errori
*/
static inline void print_error(const char * str, ...) {
const char err[]="ERROR: ";