aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-11-11 14:02:29 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-11-11 14:02:29 -0900
commit6535bedcf51ae2ce40de9d4720031c1bcf863ea3 (patch)
tree2daf37917e32b3efdb4dd31e323162fd940f4d44
parent08aff934706a6e52233bbd346dea96d9ed96b6bd (diff)
downloadbindletools-6535bedcf51ae2ce40de9d4720031c1bcf863ea3.tar.gz
bindletools-6535bedcf51ae2ce40de9d4720031c1bcf863ea3.tar.bz2
bindletools-6535bedcf51ae2ce40de9d4720031c1bcf863ea3.tar.xz
bindletools-6535bedcf51ae2ce40de9d4720031c1bcf863ea3.zip
examples: replacing '#pragma mark' with '// MARK:'
-rw-r--r--examples/example-bsearch.c12
-rw-r--r--examples/example-decode.c8
-rw-r--r--examples/example-encode.c8
-rw-r--r--examples/example-queue.c12
-rw-r--r--examples/example-refcount.c12
-rw-r--r--examples/example-stack.c12
6 files changed, 32 insertions, 32 deletions
diff --git a/examples/example-bsearch.c b/examples/example-bsearch.c
index 3a17eec..2741a49 100644
--- a/examples/example-bsearch.c
+++ b/examples/example-bsearch.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -51,7 +51,7 @@
51// Definitions // 51// Definitions //
52// // 52// //
53/////////////////// 53///////////////////
54#pragma mark - Definitions 54// MARK: - Definitions
55 55
56#undef PROGRAM_NAME 56#undef PROGRAM_NAME
57#define PROGRAM_NAME "example-bsearch" 57#define PROGRAM_NAME "example-bsearch"
@@ -62,7 +62,7 @@
62// Data Types // 62// Data Types //
63// // 63// //
64////////////////// 64//////////////////
65#pragma mark - Data Types 65// MARK: - Data Types
66 66
67struct wc 67struct wc
68{ 68{
@@ -76,7 +76,7 @@ struct wc
76// Variables // 76// Variables //
77// // 77// //
78///////////////// 78/////////////////
79#pragma mark - Variables 79// MARK: - Variables
80 80
81struct wc wcs[] = 81struct wc wcs[] =
82{ 82{
@@ -98,7 +98,7 @@ struct wc wcs[] =
98// Prototypes // 98// Prototypes //
99// // 99// //
100////////////////// 100//////////////////
101#pragma mark - Prototypes 101// MARK: - Prototypes
102 102
103static int 103static int
104compkey( 104compkey(
@@ -123,7 +123,7 @@ main(
123// Functions // 123// Functions //
124// // 124// //
125///////////////// 125/////////////////
126#pragma mark - Functions 126// MARK: - Functions
127 127
128int 128int
129compobj( 129compobj(
diff --git a/examples/example-decode.c b/examples/example-decode.c
index ebfb19a..8fcd099 100644
--- a/examples/example-decode.c
+++ b/examples/example-decode.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -50,7 +50,7 @@
50// Definitions // 50// Definitions //
51// // 51// //
52/////////////////// 52///////////////////
53#pragma mark - Definitions 53// MARK: - Definitions
54 54
55#undef PROGRAM_NAME 55#undef PROGRAM_NAME
56#define PROGRAM_NAME "example-decode" 56#define PROGRAM_NAME "example-decode"
@@ -61,7 +61,7 @@
61// Prototypes // 61// Prototypes //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Prototypes 64// MARK: - Prototypes
65 65
66int 66int
67main( 67main(
@@ -74,7 +74,7 @@ main(
74// Functions // 74// Functions //
75// // 75// //
76///////////////// 76/////////////////
77#pragma mark - Functions 77// MARK: - Functions
78 78
79int 79int
80main( 80main(
diff --git a/examples/example-encode.c b/examples/example-encode.c
index 6cf793d..cd8970a 100644
--- a/examples/example-encode.c
+++ b/examples/example-encode.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -50,7 +50,7 @@
50// Definitions // 50// Definitions //
51// // 51// //
52/////////////////// 52///////////////////
53#pragma mark - Definitions 53// MARK: - Definitions
54 54
55#undef PROGRAM_NAME 55#undef PROGRAM_NAME
56#define PROGRAM_NAME "example-encode" 56#define PROGRAM_NAME "example-encode"
@@ -61,7 +61,7 @@
61// Prototypes // 61// Prototypes //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Prototypes 64// MARK: - Prototypes
65 65
66int 66int
67main( 67main(
@@ -74,7 +74,7 @@ main(
74// Functions // 74// Functions //
75// // 75// //
76///////////////// 76/////////////////
77#pragma mark - Functions 77// MARK: - Functions
78 78
79int 79int
80main( 80main(
diff --git a/examples/example-queue.c b/examples/example-queue.c
index bf38a9d..0ff8c23 100644
--- a/examples/example-queue.c
+++ b/examples/example-queue.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -50,7 +50,7 @@
50// Definitions // 50// Definitions //
51// // 51// //
52/////////////////// 52///////////////////
53#pragma mark - Definitions 53// MARK: - Definitions
54 54
55#undef PROGRAM_NAME 55#undef PROGRAM_NAME
56#define PROGRAM_NAME "example-queue" 56#define PROGRAM_NAME "example-queue"
@@ -61,7 +61,7 @@
61// Data Types // 61// Data Types //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Data Types 64// MARK: - Data Types
65 65
66struct wc 66struct wc
67{ 67{
@@ -75,7 +75,7 @@ struct wc
75// Variables // 75// Variables //
76// // 76// //
77///////////////// 77/////////////////
78#pragma mark - Variables 78// MARK: - Variables
79 79
80struct wc wcs[] = 80struct wc wcs[] =
81{ 81{
@@ -96,7 +96,7 @@ struct wc wcs[] =
96// Prototypes // 96// Prototypes //
97// // 97// //
98////////////////// 98//////////////////
99#pragma mark - Prototypes 99// MARK: - Prototypes
100 100
101int 101int
102main( 102main(
@@ -108,7 +108,7 @@ main(
108// Functions // 108// Functions //
109// // 109// //
110///////////////// 110/////////////////
111#pragma mark - Functions 111// MARK: - Functions
112 112
113int 113int
114main( 114main(
diff --git a/examples/example-refcount.c b/examples/example-refcount.c
index 1464f0f..485509c 100644
--- a/examples/example-refcount.c
+++ b/examples/example-refcount.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -50,7 +50,7 @@
50// Definitions // 50// Definitions //
51// // 51// //
52/////////////////// 52///////////////////
53#pragma mark - Definitions 53// MARK: - Definitions
54 54
55#undef PROGRAM_NAME 55#undef PROGRAM_NAME
56#define PROGRAM_NAME "example-refcount" 56#define PROGRAM_NAME "example-refcount"
@@ -61,7 +61,7 @@
61// Data Types // 61// Data Types //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Data Types 64// MARK: - Data Types
65 65
66struct student 66struct student
67{ 67{
@@ -77,7 +77,7 @@ struct student
77// Variables // 77// Variables //
78// // 78// //
79///////////////// 79/////////////////
80#pragma mark - Variables 80// MARK: - Variables
81 81
82 82
83////////////////// 83//////////////////
@@ -85,7 +85,7 @@ struct student
85// Prototypes // 85// Prototypes //
86// // 86// //
87////////////////// 87//////////////////
88#pragma mark - Prototypes 88// MARK: - Prototypes
89 89
90int 90int
91main( 91main(
@@ -108,7 +108,7 @@ student_init(
108// Functions // 108// Functions //
109// // 109// //
110///////////////// 110/////////////////
111#pragma mark - Functions 111// MARK: - Functions
112 112
113int 113int
114main( 114main(
diff --git a/examples/example-stack.c b/examples/example-stack.c
index 42062d5..b2ea1a3 100644
--- a/examples/example-stack.c
+++ b/examples/example-stack.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <stdio.h> 41#include <stdio.h>
42#include <stdlib.h> 42#include <stdlib.h>
@@ -50,7 +50,7 @@
50// Definitions // 50// Definitions //
51// // 51// //
52/////////////////// 52///////////////////
53#pragma mark - Definitions 53// MARK: - Definitions
54 54
55#undef PROGRAM_NAME 55#undef PROGRAM_NAME
56#define PROGRAM_NAME "example-stack" 56#define PROGRAM_NAME "example-stack"
@@ -61,7 +61,7 @@
61// Data Types // 61// Data Types //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Data Types 64// MARK: - Data Types
65 65
66struct wc 66struct wc
67{ 67{
@@ -75,7 +75,7 @@ struct wc
75// Variables // 75// Variables //
76// // 76// //
77///////////////// 77/////////////////
78#pragma mark - Variables 78// MARK: - Variables
79 79
80struct wc wcs[] = 80struct wc wcs[] =
81{ 81{
@@ -96,7 +96,7 @@ struct wc wcs[] =
96// Prototypes // 96// Prototypes //
97// // 97// //
98////////////////// 98//////////////////
99#pragma mark - Prototypes 99// MARK: - Prototypes
100 100
101int 101int
102main( 102main(
@@ -108,7 +108,7 @@ main(
108// Functions // 108// Functions //
109// // 109// //
110///////////////// 110/////////////////
111#pragma mark - Functions 111// MARK: - Functions
112 112
113int 113int
114main( 114main(