summaryrefslogtreecommitdiffhomepage
path: root/stc/cstack.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-11-02 12:24:32 +0100
committerTyge Løvset <[email protected]>2020-11-02 12:24:32 +0100
commit7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d (patch)
tree6debbbe87d6b671ec32b1c97bca1c48cf9f1e986 /stc/cstack.h
parent0737c3feea3b8015d6db9440b8221374363272c9 (diff)
downloadSTC-modified-7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d.tar.gz
STC-modified-7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d.zip
Changed (half)-internal *_INIT to *__init macros. Minor reformatting.
Diffstat (limited to 'stc/cstack.h')
-rw-r--r--stc/cstack.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/stc/cstack.h b/stc/cstack.h
index b23c11c3..6a4ec35f 100644
--- a/stc/cstack.h
+++ b/stc/cstack.h
@@ -20,6 +20,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#ifndef CSTACK__H__
+#define CSTACK__H__
/* Stack adapter (normally uses cvec).
@@ -41,10 +43,6 @@
printf("top: %d\n", *cstack_i_top(&stack));
}
*/
-
-#ifndef CSTACK__H__
-#define CSTACK__H__
-
#include "cvec.h"
#define using_cstack(X, ctype) \