Hash :
df2322d7
        
        Author :
  
        
        Date :
2025-02-05T14:41:21
        
      
Replace include guards by `#pragma once` We currently have a mix of include headers, pragma once and some missing. pragma once is not standard but is widely supported, and we already use it with no issues, so I'd say it's not a problem. Let's convert all headers to pragma once to avoid the annoying include guards. The public headers are *not* converted. Signed-off-by: Ran Benita <ran@unusedvar.com>
/*
 * Copyright © 2024 Pierre Le Marre <dev@wismill.eu>
 * SPDX-License-Identifier: MIT
 */
#pragma once
#include <stddef.h>
#include <stdint.h>
char *
strip_lines(const char *input, size_t input_length, const char *prefix);
char *
uncomment(const char *input, size_t input_length, const char *prefix);
struct text_line {
    const char *start;
    size_t length;
};
size_t
split_lines(const char *input, size_t input_length,
            struct text_line *output, size_t output_length);
size_t
concat_lines(struct text_line *lines, size_t length,
             const char *sep, char *output);
size_t
shuffle_lines(struct text_line *lines, size_t length, char *output);