mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[CALC] Use pragma once for calc.h (#5754)
It's simpler and only needs to be included once at the beginning of the header file. It generates an unique identifier for the file automatically, so maintainers wouldn't need to choose unique names for the macros. It will be helpful if any future refactoring takes place. Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
This commit is contained in:
parent
dd54cd32cf
commit
4ba8af9cae
@ -1,5 +1,4 @@
|
||||
#ifndef __CALC_H__
|
||||
#define __CALC_H__
|
||||
#pragma once
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
@ -280,5 +279,3 @@ INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp);
|
||||
void ConvExecute(HWND hWnd);
|
||||
void ConvAdjust(HWND hWnd, int n_cat);
|
||||
void ConvInit(HWND hWnd);
|
||||
|
||||
#endif /* __CALC_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user