[GRASS-git] [OSGeo/grass] da1544: lib/gis: match prototype with declaration for G_st...

Nicklas Larsson noreply at github.com
Wed Sep 18 00:42:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: da15442d8428bb534272fc8fd65f1f13f8dbf55b
      https://github.com/OSGeo/grass/commit/da15442d8428bb534272fc8fd65f1f13f8dbf55b
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M lib/gis/strlcat.c
    M lib/gis/strlcpy.c

  Log Message:
  -----------
  lib/gis: match prototype with declaration for G_strlcat and G_strlcpy (#4332)

Make local implementations of strlcpy() and strlcat() optimizable by
using restrict type qualifier, while keeping public API for G_strlcat
and G_strlcpy available to C++ code and having identical prototype and
declaration.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list