mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00: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 changed files with 1 additions and 4 deletions
|
@ -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 a new issue