Skip to content

Commit

Permalink
added include guard to wgrib2.h (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett authored Jan 3, 2024
1 parent 749a7ea commit 8712ae8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wgrib2/wgrib2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* 5/2016 G. Schnee
*/

#ifndef _WGRIB2_H_
#define _WGRIB2_H_

#include <stdio.h>

#ifndef _CONFIG_H
Expand Down Expand Up @@ -692,3 +695,5 @@ double get_unixtime(int year, int month, int day, int hour, int minute, int seco

int JMA_Nb(unsigned char **sec);
int JMA_Nr(unsigned char **sec);

#endif /* _WGRIB2_H_ */

0 comments on commit 8712ae8

Please sign in to comment.