Skip to content

Commit

Permalink
Changed type
Browse files Browse the repository at this point in the history
  • Loading branch information
jnidzwetzki committed Dec 13, 2023
1 parent dba6dd6 commit 931f862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/time_bucket.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
(result) += (offset); \
} while (0)

const struct NullableDatum TS_NULL_DATUM = { .value = 0, .isnull = true };
NullableDatum TS_NULL_DATUM = { .value = 0, .isnull = true };

TS_FUNCTION_INFO_V1(ts_int16_bucket);
TSDLLEXPORT Datum
Expand Down
2 changes: 1 addition & 1 deletion src/time_bucket.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "export.h"

extern TSDLLEXPORT const struct NullableDatum TS_NULL_DATUM;
extern struct NullableDatum TS_NULL_DATUM;

extern TSDLLEXPORT Datum ts_int16_bucket(PG_FUNCTION_ARGS);
extern TSDLLEXPORT Datum ts_int32_bucket(PG_FUNCTION_ARGS);
Expand Down

0 comments on commit 931f862

Please sign in to comment.