diff options
| author | El-BG-1970 <elouangros@hotmail.com> | 2023-02-05 11:48:36 +0100 |
|---|---|---|
| committer | El-BG-1970 <elouangros@hotmail.com> | 2023-02-05 11:48:36 +0100 |
| commit | a565247c8e000482a4136a4e0f5bd113102a6d65 (patch) | |
| tree | 056db839983797dd7795060e58b66a6ca3b3d3a4 /date.h | |
| parent | c599aaf883472686fa2871ec48905b114c783180 (diff) | |
| download | org-to-conky-a565247c8e000482a4136a4e0f5bd113102a6d65.tar.gz | |
added checks, moved from defines to pragma in header files
Diffstat (limited to 'date.h')
| -rw-r--r-- | date.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,4 +1,4 @@ -#ifndef __DATE_H__ +#pragma once #include <stdbool.h> #include <stdlib.h> #include <stdio.h> @@ -28,11 +28,8 @@ void print_date(Date date); char *print_date_to_string(Date date); char *short_date_to_string(Date date); -Date today(); +Date today(void); Date tomorrow(Date td); Date nextweek(Date td); Date nextmonth(Date td); Date nextmonday(Date td); - -#define __DATE_H__ -#endif |
