mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
common: rename array-size.h to macros.h
This commit is contained in:
parent
7f30de1134
commit
a036d985d7
8 changed files with 11 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_ARRAY_SIZE_H
|
||||
#define LABWC_ARRAY_SIZE_H
|
||||
#ifndef LABWC_MACROS_H
|
||||
#define LABWC_MACROS_H
|
||||
|
||||
/**
|
||||
* ARRAY_SIZE() - Get the number of elements in array.
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
*/
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#endif /* LABWC_ARRAY_SIZE_H */
|
||||
#endif /* LABWC_MACROS_H */
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
#define LABWC_SSD_INTERNAL_H
|
||||
|
||||
#include <wlr/util/box.h>
|
||||
#include "common/array-size.h"
|
||||
#include "common/macros.h"
|
||||
#include "ssd.h"
|
||||
|
||||
#define FOR_EACH(tmp, ...) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue